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

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
"bellybutton."

| 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