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

Downloading and installing Bootstrap


In this recipe, you will learn how to install Bootstrap and start your first project.

Getting ready

You can download the required files from http://getbootstrap.com/getting-started/#download. Choose the source version at this page, which includes the Sass source files, too.

For this recipe, you should have Node.js and Grunt installed on your system. You can read how to install Node.js and the Node.js package manager in the Installing Grunt recipe of Chapter 16, Setting up a Build Chain with Grunt.

After installing Node.js, which includes npm, you can install Grunt by running the following command:

npm install -g grunt-cli

Both Grunt and Gulp are JavaScript task runners; read the Introduction of Chapter 16, Setting up a Build Chain with Grunt, to learn more about the differences between them.

How to do it...

You need to perform the following steps:

  1. Download the ZIP archive that contains the Bootstrap source files and unzip this file into your working directory...