Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Nick RohanCourses Plus Student 6,255 Points
box-shadow property question
I don't understand the purpose of the spread value in the box-shadow property. Can't you get the same effect by changing the h-shadow and v-shadow values?
Think of the spread of more like how much the shadow will bur. It's similar to a gaussian effect. Using spread will simplify softening the look of the shadow. Just specifying h and v values would only adjust how far the shadow drops back.
Bob Passaro8,438 Points
Great explanation of this, Guil.
Also, I had no idea you could apply more than one shadow to an element. Thanks.,