POSTHTML MODULAR CSS
PostHTML Modular CSS is a PostHTML plugin.
The main idea is to help you make yor css modular.
With PostHTML it allows to include your css right in html.
Usage
var gulp = ;var posthtml = ; gulp;
Example
/*box.html*/ title Some text /*box.css*/.box{ background: #ccc; margin: 0 auto; width: 50%;}.box h1{ text-transform: uppercase;}
/*button.html*/button /*button.css*/.button{ display: block; height: 40px; line-height: 40px; text-align: center; width: 200px;}
all included css files will be compiled to external one:
You just keep your css in one place with your html. From now on ther is no need to make separate file with css imports. If you delete your html file no extra css will be generated.