REM to PX is the reverse of the PX to REM conversion. font-size used Its value depends on the size of the active font. Conversion is based on the default font size of 16 pixels, but can be changed.
This PX unit is the unit most often used in CSS, but what you need to know to determine the unit of measure using pixels requires the accuracy of a device and is not affected by the surrounding elements or their parent.
| REM | PX |
|---|---|
| 0.06rem | 1px |
| 0.12rem | 2px |
| 0.18rem | 3px |
| 0.25rem | 4px |
| 0.31rem | 5px |
| 0.5rem | 8px |
| 0.62rem | 10px |
| 0.75rem | 12px |
| 0.87rem | 14px |
| 0.93rem | 15px |
| 1rem | 16px |
| 1.12rem | 18px |
| 1.25rem | 20px |
| 1.5rem | 24px |
| 3rem | 48px |
| 4rem | 64px |
| 6rem | 96px |
| 6.25rem | 100px |