I'm trying to replace a sIFR based flash effect currently used on a website with CSS 3 styling. I have the text gradient effect working well using CSS 3 but the original sIFR implementation had multiple colours rather than just a simple gradient of one colour to the next.
Can someone provide me an example of styling a text element such as an H2 using multiple colours along the horizontal axis?
Thanks, Brian.
As far as I know this is only possible in webkit
http://jsfiddle.net/gEGHq/1
Here is sample SVG code - tested with FF4, Safari 5, and Chrome. Note that you have to serve this as an XHTML page for Safari to render it. This should also work with IE9 but I haven't tested it.