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

Defining containers and columns


When using Susy to create a grid-based layout, you should define a container element that holds the grid. After this, you should define your columns or elements that span a certain number of columns inside the container. In this recipe, you will learn how to create a grid for your layout using Susy.

Getting ready

Read the Installing and configuring Susy recipe of this chapter and the Installing Sass for command line usage recipe of Chapter 1, Getting Started with Sass, to find out how to get both Sass and Susy ready on your system. In this recipe, you will rebuild the layout from the Applying the grid to your design recipe of Chapter 9, Building Layouts with Sass, using the Susy layout toolkit instead of the Flexible box code and mixins.

How to do it...

Perform the following steps to find out how to rebuild the layout of the Applying the grid to your design recipe of Chapter 9, Building Layouts with Sass by using Susy:

  1. Firstly, create the file and directory structure...