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
alextessuti
6,883 PointsStuck with a box-shadow question
I'm stuck with the 4th question onmultiple values for box-shadow.
My response is the following:
.main-header { box-shadow: 0px 2px 15px #aaa , inset 0px 0px 60px 5px firebrick ; }
and I think is correct but still get this error: "Bummer! Make sure you're defining a second box shadow value. Did you include a comma between both values"
2 Answers
Jarrett Young
12,635 PointsHi,
Here is my complete code. When using a 0 value, I do not include the px at the end. Maybe that makes a difference?? Not sure, but here is what I did:
''' .main-heading { text-shadow: 0 0 5px #be7b31; }
.title { text-shadow: 1px 3px 0 #e59740; }
.main-header { box-shadow: 0 2px 15px #aaa, inset 0 0 60px 5px firebrick; } ''' Hope that helps
alextessuti
6,883 PointsGREAT! It works now!