Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 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
Learn how to use the CSS calc() function to position a background image inside a flexible container.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Shana Gibson
8,788 PointsI don't get the 50% at the end, what part of the positioning do it add to? calc(100% - 40px), calc(100% + 30px), 50%??
Posted by Shana GibsonShana Gibson
8,788 Points1 Answer
-
Sean Flanagan
33,236 Points2 Answers
-
Aakash Srivastav
Full Stack JavaScript Techdegree Student 11,638 Points1 Answer
-
Aakash Srivastav
Full Stack JavaScript Techdegree Student 11,638 Points1 Answer
-
Edward Ulick
2,756 Points4 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