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 Modular CSS with Sass!
You have completed Modular CSS with Sass!
Preview
In this video, we'll finish writing the column loop by getting the values for $context and $target.
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
wrote in the previous video to give us the
context value.
0:00
So right above the rule, we will write a
variable of context.
0:03
And for the value, let's use that
g-context function.
0:08
And inside the parentheses, we'll pass the
$g-column-width, $g-column-count and
0:15
$g-gutter-width variables as arguments.
0:19
So first, let's say $g-col-width, followed
by $g-col-count.
0:22
[BLANK_AUDIO]
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