O'Reilly logo

Sass and Compass Designer's Cookbook by Bass Jobsen

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

Using Bootstrap mixins and classes

Although Bootstrap is a complete CSS framework, you can use some of its components for other non-Bootstrap projects. In this recipe, you will see how to reuse Bootstrap's pagination.

Other examples of reusing Bootstrap's code can be found in other recipes of this book. In the There's more... section of this recipe, you can read how to create a clearfix. The mixin for this clearfix can be found in the mixins/_clearfix.scss file, which is included in Bootstrap's source files.

Both the There's more... section of the Creating grids with semantic.gs recipe in Chapter 9, Building Layouts with Sass and the Implementing semantic layouts with Bootstrap recipe of this chapter describe how to use Bootstrap's grid mixins to ...

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