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