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