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 CSS to Sass!
You have completed CSS to Sass!
Preview
In this video, we'll see how a mixin can make writing text properties more convenient.
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
styling our font size, line height, font
weight, and color.
0:00
So for example here in our h3, we're
defining a font size.
0:03
A color property, and the line height, and
we could also see this pattern.
0:08
In other places like in the body and in
our h2 rule.
0:13
Well sure we can keep the font
declarations as is
0:18
even though they don't accept color
values.
0:21
And that's fine.
0:23
But let's see how can use a mix in to help
making writing these
0:24
properties a little more convenient for
us.
0:27
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