28 PX to REM

Open PX to REM converter

Result

28 px = 1.75 rem


Explanation

  • REM — 1.75
  • Pixel base — 16

To convert 28 pixels to REM with pixel's base 16 you need to divide pixels value by base value, in our case: 28 / 16. In result we'll receive that 28 pixels with base 16 is equal to 1.75 rem

28 / 16 = 1.75 rem

CSS code for 28 PX to REM

p { font-size: 1.75em }

HTML (inline CSS):

<p style="font-size: 1.75em">Hello World<p>