Re: One more feature: text color gradient

On Mon, Sep 5, 2011 at 6:07 AM, Robert Rachlewicz <visjusz@gmail.com> wrote:
> Hello,
> I am write this letter becouse i have suggestion about new feature in CSS3.
> Is possible to add gradient text colors? Javascirpt solution is too bad,
> becouse it is create same text 10 time's with others colors. In my opinion
> it will be better to create some functions in css to do this, than leaving
> this JQ or Dojo toolkit's.

I assume you mean the ability to have a paragraph of text that, for
example, is yellow on the left side and gradually transitions to red
text on the right side?

If so, then yes, this is something we'll address at some point, so
that you can "fill" text with an arbitrary image (such as a gradient)
instead of just a color.  Webkit already exposes a proprietary method
for this ("background-clip:-webkit-text", iirc), though that is likely
not the exact solution we'll eventually go with.

~TJ

Received on Monday, 5 September 2011 19:46:46 UTC