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

I am not sure why the blur is 10px.

I don't know how the instructor came up with the pixel value of 10 for the blur effect. Is there a formula that can us figure out the best combinations of horizontal/vertical/blur values?

1 Answer

Hello Karen,

Unfortunately there is no "One size fits all" equation here. The values for this particular lesson are tailored to fit the layout. Learning this just comes with practice and experience. It becomes something that is much easier over time. Just play with values and get a feeling for what they do and how much affect they have on the project.

Also don't forget about things like 'inset' shadows and such.