PostCSS Emify PostCSS to transform all em( px ); declarations into its em equivalent. .foo { font-size: em(16); } .foo { font-size: 1em; } Usage postcss([ require('postcss-emify') ]) See PostCSS docs for examples for your environment.