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