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 Text Shadows and Box Shadows

Gabor Salacz
Gabor Salacz
9,020 Points

Shouldn't dual box-shadow be written like this? box-shadow: hor1 ver1 blur1 spr1 color1, hor2 ver2 blur2 spr2 color2;

Trying to pass a code challenge inside CSS Basics, but my answer simply gets rejected. The task is to set up two different box shadows; I enter this and fail:

box-shadow: 0px 0px 5px #aaa, 2px 2px 8px #bbb inset;

... am I doing something wrong?

2 Answers

Aisha Blake
STAFF
Aisha Blake
Treehouse Guest Teacher

I put the inset keyword first and it worked fine. Everything else should be in the order they give you. Hope that helps!

Gabor Salacz
Gabor Salacz
9,020 Points

Thank you Aisha,

Your suggestion solved it - I can finish the course finally :)

Thanks once more; have a nice day, G.