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