Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Webkit gradient doesn't work

hello I have this in a page:
{quote:title=CSS}{quote}
-webkit-gradient(linear, left top, right bottom, from(#ffffff), to(#6375D6));

and it doesn't work....
I really have no Idea what's wrong
I have the safari 4 ^Beta^ so it should work

none it's actually just a motherboard... almost everything is build in!, Windows XP Pro, ReactOS is also installed, but used rarely as it's still alpha...

Posted on Apr 18, 2009 1:41 PM

Reply
7 replies

Apr 19, 2009 11:30 AM in response to foxofinfinety

It did help 🙂

You have the definition in the CSS file set incorrectly.

-web-gradient is not a CSS property, but rather a value a property can have.

In your example, try adding background before the gradient definition in the CategoryTitle class.
E.g.


background: -webkit-gradient(linear, left top, right bottom, from(#ffffff), to(#6375D6));

Apr 19, 2009 12:31 PM in response to iBod

woops...

but I also need to use a gradient on a HR
to make the it change collor from left to right, and also the opacity
has to change from 1.0 to 0.0
I really don't know how to do that
I have this:
background: -webkit-gradient(linear, left top, right bottom, from(opacity:1.0), to(opacity:0.0));

but that doesn't work (I assumed that in the first place, but doesn't hurt to try)

Webkit gradient doesn't work

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.