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 trial

CSS Create a Fullscreen Slider with CSS

Guilherme Sa
Guilherme Sa
185 Points

Around 10:24 into the video when styling the .slide class, .slide covers 100% of its parent container + is hidden

Which part of the code does the 100% resize to cover 100% of parent, and which part hides .slide?

I think the entire code is this but pleas check 10:24 into the video. Thanks!

.slide { height: 100%; width: 100%; position: absolute; top: 0; left: 100%; z-index: 10; background-color: same as other; background-position: 50% 50%; background-size: cover; // so image fill entire class }