Re: radial-gradient() proposal

On Thu, Nov 5, 2009 at 2:41 PM, Simon Fraser <smfr@me.com> wrote:

> I haven't thought about radial-gradient yet, but I do see that the current
> radial gradient proposal does not allow the author to place a radial
> gradient in an arbitrary spot that does not necessarily touch the edges or
> corners of the box. I think this use case is important, for example content
> that wants to put a gradient on the <body> that creates a glow around some
> element on the page.
>

Wouldn't it be better design to put that glow somewhere associated with the
element it's highlighting?

You can use background-position to offset a radial gradient, if you need to.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]

Received on Thursday, 5 November 2009 02:00:33 UTC