CSS px to rem

CodePen - CSS PX to REM

PX to REM

This tool assumes that your base font-size is the standard 16px.

Simply paste your CSS code into the box on the left and click the "Convert" button.

Converts:

  • Positive numbers
    Example: 16px = 1rem
  • Negative numbers
    Example: -32px = -2rem
  • Decimal numbers
    Example: 20.75px = 1.296875rem
  • Zero
    Example: 0px = 0

** If you use your mouse to paste your CSS, you must left click in the left box to convert your code.

full-width
Tags

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Accept !