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