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