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

Your email address will not be published. Required fields are marked *

12 − one =