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