Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- Breaking the Style Sheet into Partials 7:35
- Finishing and Importing our Partials 6:17
- Placeholder Selectors 10:59
- Nesting Selectors 5:22
- Color Variables 8:34
- Font Stack and Asset Variables 6:44
- Reusing Code with Mixins 6:57
- Writing a Mixin for Common Text Patterns 6:45
- Defining Media Queries 8:13
- Refactoring with Sass Review 7 questions

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Mixins are a smart way of reusing our code. One of the last steps in refactoring is replacing common patterns in our code with reusable mixins. Let's start by writing a mixin that writes our @font-face declarations
Quick Reference
Related Videos
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Jimmy Names
10,371 PointsWhy doesn't he declare #{$file} in +variables.scss ? How does the path know..
Posted by Jimmy NamesJimmy Names
10,371 Points1 Answer
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
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