JSFiddle - React, Tailwind, and code Playground
HTML
<input type="hidden" id="my-input">
<div id="output"/>
CSS
input {
padding-top: 10px;
}
JavaScript
// Output with jquery >1.6.2 : 10
// Output with jquery =< 1.6.1 : 0
$('<p>').html('OuterHeight = ' + $('#my-input').outerHeight()).appendTo('#output');