W3C home > Mailing lists > Public > www-style@w3.org > September 2011

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

From: Simon Fraser <smfr@me.com>
Date: Tue, 13 Sep 2011 21:35:52 -0700
Cc: www-style@w3.org
Message-id: <EE0B4C65-3B91-4D3C-93A8-267644B3F7C8@me.com>
To: shi chuan <shichuanr@gmail.com>
On Sep 13, 2011, at 6:28 PM, shi chuan wrote:

> box-shadow is lack of the option to be displayed only on specific sides of the box.
> We can't defined it as box-*-*-shadow. it's often used together with other CSS properties like border-radius which supports this syntax. It will be great if we could use the following way to specify the sides we want the shadow to be displayed (top,right,bottom,right)
> box-top-left-shadow 
> Currently this can't be achieved without some kind of hack. (reference: http://stackoverflow.com/questions/4909561/css3-box-shadow-on-top-left-and-right-only)

What do you expect to happen at the corners if shadow is only visible on some sides of the box?

Received on Wednesday, 14 September 2011 04:36:51 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:49 UTC