W3C home > Mailing lists > Public > www-style@w3.org > August 2009

RE: [CSS3] border-radius and box-shadow for vignetting

From: David Perrell <davidp@hpaa.com>
Date: Fri, 28 Aug 2009 11:12:43 -0700
To: <www-style@w3.org>
Brad Kemper wrote:
| I agree that "inside" or "inner" would be a better keyword than
| "inset" for describing this effect (IMO). In PhotoShop, the effect is
| called "inner shadow".

"Inner" is good. If you can't recall which is correct, just think

| The way it is now allows you to have radii that do not change when,
| say, more text is added to a box, which is more often what authors
| will need (especially when vertical and horizontal radii are supposed
| to be the same). Width is more often unchanging in a layout than
| height is.

In such cases <length> would usually be sufficient for the vertical radius.
Text boxes with radiused corners typically have corner radius relative to
font-size or width of padding. You could still use width percentages by
using only one argument.

David Perrell
Received on Friday, 28 August 2009 18:13:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:38 UTC