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
Sass lets you nest media queries directly inside the initial rules you're modifying. This keeps media queries local to the original selector, and makes writing and maintaining them easy.
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
by breaking mainstyles.scss out
into related chunks of code.
0:00
Well, in the latest Workspace,
you'll see how I organized and
0:04
sorted the partials into
multiple directories for the base
0:07
component and layout styles,
as well as a directory for
0:13
project utilities like variables,
mixins, and proper placeholders.
0:18
And over in style.sass,
0:23
I imported each group of related partials
using a separate import directive.
0:25
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