- When you call a mixin, it's possible to include some code…that can be processed within the mixin.…Now, a practical way to show you how this works…will help us manage media queries a little bit easier.…So for this example, I finished styling our navigation…both at the top and bottom, but there are some problems…because when I make this a certain size…the navigation starts breaking down.…To accomplish this, I've imported our navigation styles…using this module right here.…And that file, navigation.scss,…just has some very basic code.…
So right up here I'm saying the navigation,…if it's in the header, that's what this ampersand means,…the navigation uses this appearance selector to specify that…whenever it's in the header…it's going to have this background color of dark blue.…Then we have a section called branding,…which is this table of contents.…We're going to float that to the left by default,…and then we modify the h1 tag within that branding section,…just changing some of the fonts, hiding any sort of…extra spacing, and making the color of that element yellow.…
- Working with variables
- Nesting styles
- Creating mixins
- Conditional statements and loops in SassScript
- Extending your mixins
- Working with lists and maps
Skill Level Intermediate
CSS: Advanced Typographic Techniqueswith James Williamson3h 14m Intermediate
1. Getting Started
2. Learning Sass Fundamentals
3. Working with SassScript
Next steps1m 21s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.