gradient text by css3

This is pure CSS trick, no Javascript or Flash. It works on most browsers including IE6 (PNG hack required).It is perfect for designing headings. You don’t have to render each heading with Photoshop. This will save you time and bandwidth. You can use on any web fonts and the font size remains scalable. Gradient backgrounds started the trend, nowadays websites have more gradient colors for many elements after gradient become widely supported on modern browsers. One such aspect is styling text with gradient color. Let see it in action

Browser compatibility

This is only supported in WebKit based browsers. For other browsers, the color property can be the fallback option to render color related to the gradient color.
-WebKit-text-fill-color is a non-standard CSS, so have a fallback color property to support every browser without causing accessibility issues on none supported browsers.

Live Example

[Total: 2    Average: 5/5]
admin
Leave a Reply

Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages