Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialRanjitha R
1,777 PointsWhat will happen if we define a fully opaque background image or color anywhere above the bottom background layer?
What will happen if we define a fully opaque background image or color anywhere above the bottom background layer?
2 Answers
Lotte Bloem
18,630 PointsIt will cover up all background layers behind it.
Zachary Fine
10,110 PointsNot exactly sure what you are asking here. Think about it like a cube, X is left to right, Y is top to bottom and Z is near to far. So if the background has a Z-index greater than all other layers then it will be in front of everything.
Kakle Ouyanko
3,054 PointsKakle Ouyanko
3,054 PointsThanks you very much