Book Image

Sass and Compass for Designers

By : Ben Frain
Book Image

Sass and Compass for Designers

By: Ben Frain

Overview of this book

Table of Contents (17 chapters)
Sass and Compass for Designers
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Setting up a Sass and Compass project


The whole point of using Sass and Compass for projects is to make things easier. It seems sensible therefore, that we should apply this same thinking to how we make and remake the base for each project.

Perhaps at present, when starting a new web project, a new folder is created to house the project files. Inside there, extra folders are made for CSS, JavaScript, images, and the like. Then any files that are usually used are copied over or created from scratch. Perhaps an index.html page, a styles.css in the css folder, and plugins.js and main.js files for the JavaScript.

We are not going to reinvent the wheel. Our final project structure will be very similar. However, we are going make things a little easier when working with Sass and Compass in the future. In the next few pages, we will set up a base project for easy reuse. This will mean it won't usually be necessary to use the command line to create new Sass and Compass projects in the future.

Tip

...