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

Godfrey M
PLUS
Godfrey M
Courses Plus Student 2,696 Points

background image sizing

this question is hard for me... Qn1. Finally, give .wildlife the box-sizing property and value that forces any padding and border widths into its total width and height.

Qn 2. how can i make the background image resizable on different devices. because when i use max-width value 100% , other images get resized but not the background image. what i my gonna do??

1 Answer

Marielle Quizon
Marielle Quizon
2,830 Points

The answer to Question 1 is: border-box. For more info, you can read it here: https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing

For Question 2, you can use Media Queries to make your website responsive to other devices.