JSFiddle - React, Tailwind, and code Playground

by ajbeaven

HTML

<div>
    <input />
</div>

CSS

div {display:none;}

JavaScript

alert($('input').width());
$('div').show();