28px to rem = 1.75rem
28 pixels equals 1.75rem at the default root font size of 16px. Adjust the root size below to recalculate.
px
px
1.75rem
How it works
To convert 28px to rem, divide by the root font size: 28 / 16 = 1.75. The rem unit is relative to the root element’s font size, which browsers default to 16px.