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