A website isn't a great website without some form of color, imagery, or fonts—a mix of these will add interest, express content more clearly where words might be insufficient, and generally help maintain visitor engagement.
Users of existing preprocessors will of course be familiar with libraries such as the Compass authoring framework for SASS from http://www.compass-style.org; what if we could produce similar effects, but much faster, and without the need for dependencies? No problem, with PostCSS, we can pick and choose which plugins are needed for our site, and begin to build up a processor that suits our needs. We will cover a number of topics throughout this chapter, which will include:
An overview of plugins available to handle colors, images, and fonts
Creating image sprites using existing preprocessors
Adding SVG support using existing preprocessors
Transitioning to using PostCSS plugins
Manipulating colors and color palettes using PostCSS...