Re: [css-d] four-sided CSS3 drop shadow?

2012-01-15 Thread Alan Gresley
On 16/01/2012 4:15 PM, Ghodmode wrote: On Sun, Jan 15, 2012 at 8:58 AM, Alan Gresley wrote: Not so. There needs to be a forth value in the box-shadow string to indicate spread. Something like this spreads the shadow evenly on all sides. box-shadow:0px 0px 0.5em 0.5em gray; The spec goes int

Re: [css-d] four-sided CSS3 drop shadow?

2012-01-15 Thread Philippe Wittenbergh
On Jan 16, 2012, at 2:15 PM, Ghodmode wrote: > Unfortunately the webkit variation doesn't support the 4th number: yes it does since Safari 5.1 (and Chrome 12, I think) > http://developer.apple.com/library/safari/#documentation/AppleApplications/Reference/SafariCSSRef/Articles/StandardCSSPropert

Re: [css-d] four-sided CSS3 drop shadow?

2012-01-15 Thread Ghodmode
On Sun, Jan 15, 2012 at 8:58 AM, Alan Gresley wrote: > On 15/01/2012 8:16 AM, Tim Climis wrote: >> >> On Saturday, January 14, 2012 4:06:30 pm Stephen Britton wrote: >>> >>> I am experimenting with CSS3 drop shadows. Most examples only show it >>> working with two sides - usually the bottom and ri

Re: [css-d] four-sided CSS3 drop shadow?

2012-01-15 Thread Tim Climis
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 para

Re: [css-d] four-sided CSS3 drop shadow?

2012-01-14 Thread Alan Gresley
On 15/01/2012 8:16 AM, Tim Climis wrote: On Saturday, January 14, 2012 4:06:30 pm Stephen Britton wrote: I am experimenting with CSS3 drop shadows. Most examples only show it working with two sides - usually the bottom and right or left side. Is there a way to have the shadow cover all sides - t

Re: [css-d] four-sided CSS3 drop shadow?

2012-01-14 Thread David Hucklesby
On 1/14/12 1:16 PM, Tim Climis wrote: On Saturday, January 14, 2012 4:06:30 pm Stephen Britton wrote: I am experimenting with CSS3 drop shadows. Most examples only show it working with two sides - usually the bottom and right or left side. Is there a way to have the shadow cover all sides - top,

Re: [css-d] four-sided CSS3 drop shadow?

2012-01-14 Thread Tim Climis
On Saturday, January 14, 2012 4:06:30 pm Stephen Britton wrote: > I am experimenting with CSS3 drop shadows. Most examples only show it > working with two sides - usually the bottom and right or left side. > Is there a way to have the shadow cover all sides - top, bottom, right and > left? > > Her

[css-d] four-sided CSS3 drop shadow?

2012-01-14 Thread Stephen Britton
I am experimenting with CSS3 drop shadows. Most examples only show it working with two sides - usually the bottom and right or left side. Is there a way to have the shadow cover all sides - top, bottom, right and left? Here is some sample code that I have been working with. It only covers the bott