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 trialpamela guy
Courses Plus Student 4,311 PointsHow to add a background-image
Here is my code
.wildlife {
color: white;
background-color: #434a52;
padding: 18% 24%;
border-top: 10px solid #ffa949;
margin: 105px 0 60px;
box-shadow: 15px 15px rgba(0,0,0, .8)
background-image: url('../img/bear.jpg');
}
1 Answer
Unsubscribed User
19,024 PointsHi,
Your box-shadow line needs a semi-colon at the end. :)
pamela guy
Courses Plus Student 4,311 PointsThanks Paul!
Kerry Smyth
3,921 PointsKerry Smyth
3,921 PointsI think you missed the " ; " after box-shadow?
You might also want to add background-repeat:no-repeat;