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

Converting partial files to standalone style sheets


Remember that it's also easy to create a standalone file from an existing partial file. Just omit the leading underscore from the filename. So a file called _navigation.scss could be renamed navigation.scss and this would compile to navigation.css (if the file is still within a folder named partials, it will also be generated within the CSS folder in a subfolder called partials).

Note

There have been whispers in dark corridors (alright, not really, just on GitHub) that the possibility may exist in future versions of Sass to target particular styles to particular style sheets. Those curious may wish to read the following threads: https://github.com/nex3/sass/issues/241 and https://github.com/chriseppstein/compass/issues/664 on the Sass and Compass projects respectively.