W3C home > Mailing lists > Public > www-style@w3.org > June 2010

Re: [css3-background] box-shadow spread Multiple Choice Question

From: Brad Kemper <brad.kemper@gmail.com>
Date: Thu, 3 Jun 2010 20:58:50 -0700
Cc: www-style list <www-style@w3.org>
Message-Id: <C458D2B0-9216-4DAA-83D1-82A634BBFA7C@gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>

On Jun 3, 2010, at 5:05 PM, Brad Kemper wrote:

> 1. Better than nothing, but it is not just distortion of elipses that suffers. It is scaling of elipses, too, because the scaling is not nearly enough. Consider the difference between the inside and outside radii of a border whose 'border-radius' measurement is close to its 'border-width'. It is a big difference, with the inside at or near zero radius. Now consider how little you have to scale a typical element to get offsets of a few (or even several) pixels. Hardly any at all, so that the corners look very odd, not much at all like a real offset.

I've posted a picture that compares option 1 (scaling to simulate spread) with option 2 (offsetting to get spread):


Option 1 is not as terrible as I thought, but is still furthest from normal expectations, with uneven amounts of spread around the corners.
Received on Friday, 4 June 2010 03:59:27 UTC

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