PostCSS Inline Comments
PostCSS plugin to use inline comments in CSS. The only thing I missed.
It's depreacted
Please use postCSS-SCSS instead.
Installation
$ npm i postcss-inline-comment --save-dev
Usage
With Node.js:
var fs = postcss = inlineComment = ; var css = fs; var output = css;
With Grunt via grunt-postcss
module { grunt; grunt;};
With gulp.js via gulp-postcss
var gulp = ;var postCSS = ;var postCSS_InlineComment = ; gulp;
Using this 'style.css':
you will get:
(But it's only works for declarations inside rules, yet.)
Options
Nope.
It is just a little hack
Feel free to use it, but if you want work with SCSS syntax take a look at postCSS-SCSS.