rework-pure-css

A collection of pure-CSS Rework plugins, so you can write bleeding-edge, spec-compliant CSS and it will get transformed for browsers that haven't caught up yet.

rework-pure-css

A collection of pure-CSS Rework plugins, so you can write bleeding-edge, spec-compliant CSS and it will get transformed for browsers that haven't caught up yet.

This is nice because it lets you write pure CSS, and as browser support improves you don't have to change a thing.

Note: some things aren't spec'd yet but are extremely obvious candidates, like certain pseudo-elements. It doesn't include controversial features like extend.

var pure = require('rework-pure-css');
 
rework(css)
  .use(pure)
  .toString();

MIT