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