Answers for "em is relative to its font size"

0

em is relative to its font size

<div id='contain' style='height: 400px'>
  <div style='height: 1.5em'>Test 1</div>

  <div style='height: 50%'>Test 2</div>
</div>
Posted by: Guest on January-30-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language