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
Now we'll see how we're able to use what we've learned in the previous videos to create styles for headlines.
This video doesn't have any notes.
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
Now, we're going to create two headline
blocks.
0:00
One will be headline primary, and the
second one will be headline secondary.
0:00
And we're going to define these a little
differently than we would for h1 and
0:05
heading 2 elements.
0:09
We'll see why in just a bit.
0:10
Now, since we're also going to create
modifiers, for our headlines.
0:12
Let's first write place holder or
selectors for the shared base styles.
0:16
So we'll go over to the extends.scss
partial and
0:21
under the headlines comment we'll create
our first place holder selector and
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