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