28px to rem
28 pixels expressed in rem, the unit that scales when a user changes their browser's font size.
28px=1.75rem
28 ÷ 16 = 1.75 — rem is just pixels divided by the root font size, which defaults to 16px.
| root size | 28px in rem |
|---|---|
| 14px | 2rem |
| 16px | 1.75rem |
| 18px | 1.5556rem |
| 20px | 1.4rem |
Different value? Use the converter.