JSFiddle - React, Tailwind, and code Playground
HTML
<h1 style="font-size: 6em">Size of font in pixels?</h1>
JavaScript
var sizeinem=parseFloat($('h1').css('font-size')) / 16;
alert(sizeinem);
<h1 style="font-size: 6em">Size of font in pixels?</h1>
var sizeinem=parseFloat($('h1').css('font-size')) / 16;
alert(sizeinem);