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