JSFiddle - React, Tailwind, and code Playground
HTML
<div id="row">
<button>
18px Chrome, 16px FF
</button>
<input type="text" value="My font is 18px">
</div>
<div id="column">
<button>
My font is 16px
</button>
<input type="text" value="18px Chrome, 16px FF">
</div>
CSS
body {
line-height: 1;
margin: 0;
}
button, input {
font: inherit;
padding: 5px;
width: 50vw;
}
input {
box-sizing: border-box;
}
#row {
display: flex;
}