Re: suggestion of adding top,right,bottom,right to box-shadow

On 14/09/2011 11:18 PM, Brad Kemper wrote:
> The way you describe hiding parts of the shadow by specifying them
> per-edge sounds awkward and unnatural. The UA would have to be able
> to have separate offsets and blurs and spreads and colors for each
> side, somehow joined at the corners. But based on your use case,
> really all you need is a way to crop the shadow. Using
> overflow:hidden is not that hacky a way to do it, and much more
> natural than your idea.

I'm not sure what Shi really wants.

Maybe a mock up graphic may help us know what you are seeking. The way 
you described the corner joins in a way that is not how box-shadow 
currently works makes me wonder if this can not be done another way.

The below demo may be more the rendering you are wanting.

Alan Gresley

Received on Wednesday, 14 September 2011 14:31:33 UTC