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
Maureen O'Neal
12,930 Pointswhy is this box-shadow not working? ,
The question ASKS you to put the color AHEAD of the blur radius, which I thought you weren't supposed to do, and which doesn't work either. This code works in the editor, but won't get me passed to the next challenge. Any ideas?
.box { box-shadow: 10px 10px 5px 15px #222; }
2 Answers
Jason Anello
Courses Plus Student 94,610 PointsHi Maureen,
The blur radius has to come before the spread radius.
box-shadow: 10px 10px 15px 5px #222;
You can see this MDN page for the correct ordering of the values: https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow
Maureen O'Neal
12,930 PointsThank you so much! That was it , and or course it was SO simple! Thanks again!
Jason Anello
Courses Plus Student 94,610 PointsYou're welcome.
Maureen O'Neal
12,930 PointsYes! the link should be http://teamtreehouse.com/library/css-foundations/backgrounds-and-borders/box-shadows. Thank you!
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsHi Maureen,
Can you post the link to the challenge?