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