Re: Gradient syntax proposal

On Sat, Aug 15, 2009 at 5:52 PM, David Perrell<davidp@hpaa.com> wrote:
> Brad Kemper wrote:
> | You mean because having the bg-positions to start and stop on is
> | essentially creating a new box with it's own internal dimensions of
> | 0%-100% and 0px or more? You thinking you can just create a second
> | background thats as small as that box? I was think of that too, but
> | the gradation actually needs to keep going on all four sides of that
> | box, even at odd angles, so I don't think that'd work.
>
> Well, could no-repeat stop it from going on all four sides?
>
> Oh, wait, semantically, that makes no sense...
>
> Except that it's an IMAGE, not a color, right? Sized background images with
> no-repeat don't go out on all four sides.

Indeed, if you're sizing it.  Normally a gradient auto-sizes to the
size of the box, though, so you don't have any problem with this.

~TJ

Received on Saturday, 15 August 2009 22:57:18 UTC