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