Pixels to REM, REM to pixels calculator

Here’s a simple pixel to rem, rem to pixel calculator using ReactJs. How to use it? In most cases, 2018 and after, 16px is the norm for default pixel sizes. Just type in the pixel in the px field and it will give you the REM equivalent, and vice versa.

See the Pen px to rem / rem to px convertor by Ty Yang (@tyyang) on CodePen.dark

Leave a Comment

3 × five =