JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" class="input" placeholder="Why is this 37px high and not 34px?">

CSS

.input {
    border: 1px solid #000;
    font-family: Arial;
    font-size: 12px;
    padding: 10px;
    width: 200px;
    box-sizing:border-box;
    line-height: 12px;
}