On Sunday, January 15, 2012 11:58:48 am Alan Gresley wrote:

> > You just have to make the spread of the shadow bigger than then offset.
> > 
> > box-shadow: 0 0 4px #ddd;
> > 

> Not so. There needs to be a forth value in the box-shadow string to
> indicate spread.

My bad.  There are so many parameters to this one, it's hard to keep them 
straight, and they kind of hide them in the spec.  But you are absolutely 
right.  Spread is the fourth parameter; blur radius is the third.  I had them 
backwards in my head.

It might be worth noting that the size of the shadow is a combination of the 
spread and the blur.

There's a pretty good diagram of this at css3.info, about a third of the way 
down the page: http://www.css3.info/preview/box-shadow/

---Tim
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to