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 trialgene c
13,630 PointsWhat to do if i want the mountains.jpg image to fit perfectly inside of the main header?
I don't want any repeat but at the same time i want to scale the mountains.jpg down perfectly for it to fit within the main header.
2 Answers
Sean M
7,344 Pointsbackground-size: cover;
Jan Durcak
12,662 Pointsbackground-size: 100%;
Jordan Kaiser
5,438 PointsJordan Kaiser
5,438 PointsYou could look at the following CSS attributes.