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