Creating CSS styles opens up a world of possibilities: we are only limited by what we must support! Throughout the course of this chapter, we've explored some of the possible options we can use when working with the newer CSS4 styles—let's take a moment to review what we have learnt.
We kicked off with a quick introduction to what we know as CSS4—we then moved on to explore some of the plugins that cater for supporting newer styles with more compatible CSS equivalent code.
Up next came a simple demo that explored some of the new CSS4 pseudo-classes, and how we might use them in a (theoretical) context. We then moved onto something more practical, in the form of styling the new range input using just CSS.
Moving swiftly on, we then took a look at the cssnext plugin pack, which provides an abstract layer for supporting CSS4; we saw how easy it is to implement, and that we can easily switch off functionality if it is no longer needed in our projects.
Our next demo came in the form of working with color—we used the rebeccapurple plugin to show firstly how easy it is to add support for one of the new colors within CSS4, then to modify it to provide support for other colors as needed in our projects. We then rounded out the chapter with a look back in time at some of the mistakes made when CSS was released, and how (with a little imagination), we might provide a temporary workaround until such time as these mistakes are fixed in a future version of CSS.
We've now come to the end of the book - I hope you've enjoyed our journey through the world of PostCSS, and that hopefully this book will help improve your skills as a future developer or user of PostCSS.