Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Sass Basics!
You have completed Sass Basics!
Preview
You'll often work with multiple Sass files consisting of several different stylesheets and directories. Sass lets you compile dozens of individual Sass files into a single, compact CSS file.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
For example, its comment to divide your
style into separate files based on
0:00
their function.
0:02
The sites main style in one file,
layout related styles in another file and
0:03
typography styles and yet another.
0:08
Normally you wouldn't want dozens of style
sheets for a site since each file means
0:10
another server request which can slow down
your website, however, Sass let's you
0:14
compile dozens of individual Sass
files into a single compact CSS file.
0:18
Since you're working with two
different types of files,
0:23
it's best to organize them
in two separate directories.
0:25
A directory containing your
working SCSS files and
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up