
PostCSS Sass Extend is a PostCSS plugin that allows you to use @extend and placeholder classes like you do in Sass.
/* before */ % % /* after */
Usage
You just need to follow these two steps to use PostCSS Sass Extend:
- Add PostCSS to your build tool.
- Add PostCSS Sass Extend as a PostCSS process.
npm install postcss-sass-extend --save-dev
Node
Grunt
Add [Grunt PostCSS] to your build tool:
npm install postcss-sass-extend --save-dev
Enable PostCSS Sass Extend within your Gruntfile:
grunt; grunt;