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 14:00:25 -0700
To: "David Perrell" <davidp@hpaa.com>, <www-style@w3.org>
Message-ID: <HIEDLECHAFDEPLGKECDDCEDIANAB.davidp@hpaa.com>
| 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.

Come to think of it, it would be nice to have a keyword for border-radius:
'auto' (or ...?) that would set border radii to the corresponding
padding-plus-border width. The inside edge of the border would always be
padding-width distance from the content. This makes an
attractively-proportioned radiused border very simple to spec.

Example: http://hpaa.com/csstest/bordradauto.htm

(JavaScripted for moz and webkit)

David Perrell
Received on Friday, 28 August 2009 21:01:33 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:39 UTC