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