A question, how many times have you worked with plugins that by themselves don't actually achieve anything?
I'll bet the answer won't be a high figure—and no, I'm not including those plugins that claim to perform an operation, yet don't seem to work for some reason! The power of PostCSS lies not in the core system, but the plugins that we use to manipulate our CSS style sheets.
At the time of writing, there are more than 200 plugins available for use within PostCSS—these range from extending PostCSS (such as postcss-nested
or postcss-mixins
), to manipulating colors (such as postcss-color-hcl
or postcss-rgba-hex
), to plugins that cater for future CSS syntax (such as adding @extend
support).
Note
The full list is available at https://github.com/postcss/postcss/blob/master/docs/plugins.md, or via the searchable catalogue hosted at http://www.postcss.parts.
To date, we've used a fair number of plugins throughout our examples—we've configured them for use, but there...