W3C home > Mailing lists > Public > www-style@w3.org > November 2009

Re: radial-gradient() proposal

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 5 Nov 2009 14:59:53 +1300
Message-ID: <11e306600911041759g77997bddxa9dd295a8b0c7d0d@mail.gmail.com>
To: Simon Fraser <smfr@me.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
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.

"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
Received on Thursday, 5 November 2009 02:00:33 UTC

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