
PostCSS Conic Gradient is a PostCSS plugin that allows you to use conic gradients in your CSS files. It is based on Lea Verou’s excellent conic-gradient polyfill.
Conic gradients are awesome, but browsers haven’t realized yet. This polyfill lets you experiment with them now. If you like them, ask browser vendors to implement them!
/* before */ /* after */
Usage
You just need to follow these three steps to use PostCSS Conic Gradient:
- Install Cairo.
- Add PostCSS to your build tool.
- Add PostCSS Conic Gradient as a PostCSS process.
npm install postcss-conic-gradient --save-dev
Node
Grunt
Install Grunt PostCSS:
npm install postcss-conic-gradient --save-dev
Enable PostCSS Conic Gradient within your Gruntfile:
grunt; grunt;