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