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