Making the switch to using PostCSS is a cinch, we can use the
postcss-custom-media plugin for this purpose, available at https://github.com/postcss/postcss-custom-media.
The plugin is easy to install, it follows the same principles as all of the other plugins we've covered, so without further ado, let's get that out of the way now:
npm install --save-dev postcss-custom-media
With the plugin installed, we can now use it, before we get stuck into converting our previous demo, let's work through a simple example, ...