Skip to navigation Skip to content

Results for “pixels to rems”

Now on NPM: Convert your pixels to rems or ems using this PostCSS plugin

Have you every had a dozen people coming over for dinner in 20 minutes only to discover that you need to convert a bunch of CSS with items sized in pixels over to relative sizes such as rems or ems? Who doesn’t face this problem at least several times a week.

Up until now the only way to fix this problem was to learn assembly language, make your own CPUs and write your own operating system. Well, no more!

postcss-pixels-to-rem is a PostCSS plugin that finds several types of pixel notations and... More