Instructions
Just type the value in pixels and hit Enter. You will get two results – one to be used for font-size, width, height, margin, padding and the other result for line-height.
document.getElementById( "rem-size" ).value = fRem.toString() + "rem"; document.getElementById( "line-height-size" ).value = fLine.toString(); }
Tip: A single click then selects the whole result, after that you can copy and paste it to your CSS.