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

Building style guides with the Kalei Styleguide


Style guide shows you the visual effect of your CSS code. When integrating a style guide into your Sass workflow, you can easily check whether your changes have had the desired effect or, on the other hand, do not break your design. In this recipe, you will be introduced to the Kalei Styleguide tool.

Getting ready

Install Ruby Sass, as described in the Installing Sass for command line usage recipe of Chapter 1, Getting started with Sass, to compile your SCSS code into CSS code. The Kalei Styleguide tool used in this recipe can be downloaded at https://github.com/thomasdavis/kaleistyleguide/archive/gh-pages.zip. You should download and unzip this file into your current working directory.

The Kalei Styleguide tool requires an up and running web server, so you should serve the code for this recipe on an HTTP server. Setting up a web server for your projects is out of the scope of this book. In this recipe, WEBrick has been used to server the files...