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 CSS Basics (2014) Enhancing the Design With CSS Box Shadows

Toby DeGrandpre
Toby DeGrandpre
1,530 Points

Box Shadow not working. Answers from a year ago don't seem to apply.

Mine typed correctly; not working. (can't seem to get the html formatting to display here; my apologies).

.wildlife {
  color: white;
  text-align: left;
  padding: 18% 24%;
  border-top: 10px solid #ffa949;
  margin: 105px 0 60px;
  background: #434a52 url('../img/bear.jpg') no-repeat center;
  background-size: cover;
  box-shadow: 15px 15px rgba(o,o,o .8);
}

1 Answer

Erik Nuber
Erik Nuber
20,629 Points

Looks like you are using the letter o instead of 0 in your text shadow and I believe you need and extra comma

box-shadow: 15px, 15px, rgba(0,0,0, .8);