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

Creating grids with semantic.gs


HTML5 introduced many new semantic HTML tags, such as footer, header, section, among others; nevertheless, many modern CSS grid systems are built with non-semantic div tags and CSS classes. Critics even say that building your grids with div tags does not differ from the old-school table layouts. The semantic.gs mixins library provides you with a simple manner to build a 12-column semantic grid. Grids can be used as the skeleton of a responsive website.

Using grids in web design will help both the web designer and the web developer to prevent inconsistencies from occurring between the original design and the final implementation in HTML.

Getting ready

For this recipe, you have to download the latest version of the semantic.gs mixins, which can be found at https://github.com/tylertate/semantic.gs/zipball/master . After editing the Sass files with a text editor, you can test the result in your browser. Use the Ruby Sass compiler as described in Chapter 1, Getting...