Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- Course Overview 1:52
- The Project Config File 9:14
- Pixels to Em Function 6:35
- Sass Function Challenge 1 objective
- Colors with Sass Maps 6:35
- Nested Sass Maps 7:20
- Review: Mixins and Functions 5 questions
- Background Image Mixin 7:30
- Pseudo-Element Mixin with @error 5:45
- Sass Directives Challenge 1 objective
Start a free Courses trial
to watch this video
![](https://videos.teamtreehouse.com/stills/TH-ModularCSSSass-S1-V6-stills-0.jpg?token=6991a0c5_06ef7232f9c535eea9bf9b93960e3487101aa4a9)
- 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
In this video, we're going to create a mixin that makes it easier to define an element's background image, width, height, and display property. Then, we'll write a mixin for generating pseudo-element shapes.
Quick Reference
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Samuel Fortunato
20,229 Points2 Answers
-
jlampstack
23,932 Points2 Answers
-
Matthew Conrad
28,069 Points0 Answers
-
Michal Janek
Front End Web Development Techdegree Graduate 30,654 Points1 Answer
-
Ron Gootman
24,409 Points1 Answer
-
Magnus Martin
44,123 Points2 Answers
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