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!

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 Framework Basics Build a Website with Bootstrap Building the Hero Component

Why background-repeat property set to no-repeat?

hello, I think this is probably a pretty easy question for someone. A lot of times we add properties to the code that seem to me to have zero effect. Of course, there is a always a reason, but a lot of times it is not immediately apparent to me. This is one of those cases. Why did we set the background-repeat property to no-repeat. It looks at the site before and after, and it seems to have zero effect...

Thanks for any info!

in other words, when the background image is so big, it wouldnt repeat anyway, why bother? This seems to be the case.

1 Answer

Same story with the hero image. We set it to no-repeat, but it seems that it wasn't going to repeat anyway.