/html-postcss

Process inline CSS in HTML using PostCSS

Primary LanguageJavaScript

html-postcss

Build Status NPM version

html-postcss

Process CSS within the <style> tags and inline style= attributes in your HTML using PostCSS.

Usage

var HTMLPostCSS = require('html-postcss');

var processor = new HTMLPostCSS(plugins);
processor.process(htmlString, cheerioOpts, postcssOpts); //=> '<html>...</html>'