DevTools Tips

Categories: Supported by:

Convert font property units

Font CSS properties such as font-size, line-height or letter-spacing can be expressed in multiple different length units (like many other CSS properties).

Firefox, Chrome and Edge allow you to convert values between these units easily.

Screenshot of the fonts panel in Firefox, showing the unit conversion drop-down

Screenshot of the fonts panel in Edge, showing the unit conversion drop-down