1.5 EM to PX
Result
1.5 em = 24 px
Explanation
- Base — 16
- Em value — 1.5
To convert 1.5 em to pixels with base 16 you need to multiply base value by em value, in our case: 16 × 1.5. In result we'll receive that 1.5 em with base 16 is equal to 24 pixels (px)
CSS code for 1.5 EM to PX
p { font-size: 24px }
HTML (inline CSS):
<p style="font-size: 24px">Hello World<p>