O'Reilly logo

Mastering PostCSS for Web Design by Alex Libby

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding shortcuts with Rucksack

Mention the word Rucksack, and one might be forgiven for thinking we were about to go on a journey or holiday—whilst the desire might be there, there are more practical matters to attend to first!

This said, working with PostCSS can easily be seen as going on a journey; this is particularly true when working with plugins. One of the plugins (or to be more accurate, packs) that you will very likely come across when working with PostCSS is Rucksack (see the play on words there?). This useful pack, available from http://simplaio.github.io/rucksack/, contains a number of plugins that have been linked together to provide additional functionality that we can use when compiling style sheets using Rucksack, such as these ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required