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: Wed, 9 Jun 2010 16:30:26 -0700
Cc: fantasai <fantasai.lists@inkedblade.net>, www-style list <www-style@w3.org>
Message-Id: <B5F97352-1D59-4B9D-A966-6B7715326FC0@gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>

On Jun 9, 2010, at 4:28 PM, Brad Kemper wrote:

> Agreed. And even then, it would not take a great deal of math to figure out a better placement of the connection points for the chopped-corner, or for a scallop corner (reversed quarter circle).
> Here is my version of that, with the rows numbered to correspond to fantasai's numbers, even though they are in a different order. I've also shown the negative spread cases in each one (which creates the same kind of shape change as for an inner shadow spread). I've also shown the scaled element version, using a tall element (the amount of distortion depends on the width/height ratio).
> http://www.bradclicks.com/cssplay/3x3_Corner_Comparison.svg

Oh, and I used Illustrator's "Offset Path" command, so there was no eyeballing needed. It should be pretty exact.
Received on Wednesday, 9 June 2010 23:31:02 UTC

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