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 Rohan
Courses Plus Student 6,255 Pointsbox-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?
4 Answers

Guil Hernandez
Treehouse TeacherHi Nick Rohan,
Take a look at this forum tip I made explaining the spread value in box-shadow
.
Hope this helps! :)

Andrew Harper
17,150 PointsGood explanation. Can't thank you guys enough for all the work you do.

nik
8,925 PointsThink 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 Passaro
8,438 PointsGreat explanation of this, Guil.
Also, I had no idea you could apply more than one shadow to an element. Thanks.,
Nick Rohan
Courses Plus Student 6,255 PointsNick Rohan
Courses Plus Student 6,255 PointsAwesome, very helpful. Thanks Guil!