views:

81

answers:

1

Using @font-face and CSS3 I want to simulate the linear gradient that you can achieve on text using Cufon

color: '-linear-gradient(#7f7f7f, #616161)',

I have the webkit rule

-webkit-gradient(linear, 0% 0%, 0% 100%, from(#7F7F7F), to(#616161));

but can't seem to get it to apply to the text using the color: selector or any other variation. Is there a way to do this?

A: 

Yes there is a way to do it in webkit browsers. See this tutorial http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-pure-css-text-gradients/

FutureKode