35Fully Featured Frameworks

Frameworks and libraries are collections of mixins and functions that help us with our style sheets. There are hundreds of them out there, and choosing one is often dependent on the specific needs of a project.

Bourbon[11] is one example of a lightweight Sass library. It comes with a number of features that can be useful in a project. In particular, a lot of its mixins take care of the cross-browser compatibility issues we saw in Task 18, Using Mixins for Cross-Browser Compatibility. Rather than writing all our own mixins to take care of cross-browser quirks, we can take advantage of Bourbon’s collection of mixins.

As well as mixins, there are some useful functions present, too. For example, the em() method converts ...

Get Pragmatic Guide to Sass 3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.