Book Image

Sass and Compass Designer's Cookbook

By : Bass Jobsen, Stuart Robson
Book Image

Sass and Compass Designer's Cookbook

By: Bass Jobsen, Stuart Robson

Overview of this book

Sass and Compass Designer's Cookbook helps you to get most out of CSS3 and harness its benefits to create engaging and receptive applications. This book will help you develop faster and reduce the maintenance time for your web development projects by using Sass and Compass. You will learn how to use with CSS frameworks such as Bootstrap and Foundation and understand how to use other libraries of pre-built mixins. You will also learn setting up a development environment with Gulp. This book guides you through all the concepts and gives you practical examples for full understanding.
Table of Contents (23 chapters)
Sass and Compass Designer's Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Implementing semantic layouts with Bootstrap


Bootstrap 4 has a 12-column grid and predefined grid classes by default. You can also use the grid mixins to apply the grid on selectors without predefined classes to generate more semantic CSS for individual grid columns. In this recipe you will learn how to use these grid mixins.

Getting ready

In this recipe, you will rebuild the layout from the Applying the grid on your design recipe of Chapter 9, Building Layouts with Sass, using Bootstrap 4. Other ways to implement the same layout with Sass can be found in the Mobile first and responsive grids recipe of Chapter 10, Building Grid-based Layouts with Susy and Sass, the Creating semantic grids with Foundation recipe of Chapter 11, Foundation and Sass, and the Semantic grids with Neat recipe of Chapter 13, Meeting The Bourbon Family.

Read the Downloading and installing Bootstrap recipe of this chapter; you will need it for the first step of this recipe.

How to do it...

For this recipe you should perform...