PX to REM

Frontend developer unit tool

Understanding CSS REM Units

REM (Root EM) units are relative to the font-size of the root element (usually the html tag). Most accessibility-first design systems prefer REM over PX to respect the user's browser-set font preferences.