Search Options
close
Search the following clips:
All Clips
Everyone's Clips
My Guides
Sign Up
Install
Learn More
Login
CSS Gradient Text Effect
WebWolf Hosting
follow
0
5-3-2008 6:48 PM
651 views
tags:
css
,
design
,
tips
,
tricks
WebWolf Hosting
says:
Really cool trick - visit webdesignerwall.com for more details
Add a Comment
Login
to Comment. Not a member yet?
Sign up
Related Clips
MySpace CSS class definitions and more
Gmail Redesigned 2.0
HTML Playground
Swivel data analysis
TutorGig
Cheat Sheets for Front-end Web Developers
webResources
More clips from
WebWolf Hosting
Flames of Hate
Things for Sale I will mail you
Spike Milligan - Fly in my Soup
Today's Top Clips
Apollo 14 astronaut claims aliens HAVE made contact
Kurt Vonnegut: How to Write with Style
The Future
6 Plants That Will Grow (Almost) Anywhere
Skeletal Cartoons
The Death of HAL –the Evolving Digital Ecosystem
A Double Life
Iran's stunning wooden village
Beautiful Somerset
Images of Iceland 2
visit the
Top Clips page
View the Top Clips from
May 3, 2008
Embed This Clip In Your Site...
<div style="margin: 12px 0px; font-family: arial; color: #333333; background: #ffffff; border: solid 4px #e5e5e5; width: 100%; clear: left;"><div class="CM_CTB_Content_Wrap" style="margin: 0px; padding: 0px;background-color: #ffffff;"><div style="border-bottom: solid 1px #dcdcdc; white-space: nowrap; margin-bottom: 8px; background-color: #eeeeee ;background-image: url(http://www.clipmarks.com/images/source-bg.gif); background-repeat: repeat-x; height: 24px; line-height: 24px; vertical-align: middle; padding-bottom: 4px; color: #666666; font-size: 10px;" ><a href="http://clipmarks.com/clip-to-blog/" title="see clips that are hot right now"><img src="http://content.clipmarks.com/blog_embed/727c493a-da15-43f7-8fc9-2633e6beb845/03957051-F9AC-43DC-9D64-9E84BB4120BB/" alt="" width="19" height="19" border="0" style="vertical-align: middle; margin: 0px 4px; display: inline; border: none; float:none;" /></a>clipped from <a title="http://www.webdesignerwall.com/tutorials/css-gradient-text-effect/" href="http://www.webdesignerwall.com/tutorials/css-gradient-text-effect/" style="font-size: 11px;">www.webdesignerwall.com</a></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.webdesignerwall.com/tutorials/css-gradient-text-effect/"><P class="intro">Do you want to create fancy headings without rendering each heading with Photoshop? Here is a simple CSS trick to show you how to create gradient text effect with a PNG image (pure CSS, no Javascript or Flash). All you need is an empty <CODE><span></CODE> tag in the heading and apply the background image overlay using the CSS <CODE>position:absolute</CODE> property. This trick has been tested on most browsers: Firefox, Safari, Opera, and even Internet Explorer 6. Continue to read this article to find out how.</P></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.webdesignerwall.com/tutorials/css-gradient-text-effect/"><H1>CSS Gradient Text Effect</H1></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.webdesignerwall.com/tutorials/css-gradient-text-effect/"><H3>Benefits</H3></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.webdesignerwall.com/tutorials/css-gradient-text-effect/"><li style="margin-left:16px;padding-left: 0px;">This is pure CSS trick, no Javascript or Flash. It works on most browsers including IE6 (PNG hack required).</LI></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.webdesignerwall.com/tutorials/css-gradient-text-effect/"><li style="margin-left:16px;padding-left: 0px;">It is perfect for designing headings. You don’t have to render each heading with Photoshop. This will save you time and bandwidth.</LI></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.webdesignerwall.com/tutorials/css-gradient-text-effect/"><li style="margin-left:16px;padding-left: 0px;">You can use on any web fonts and the font size remains scalable.</LI></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.webdesignerwall.com/tutorials/css-gradient-text-effect/"><H3>How does this work?</H3></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.webdesignerwall.com/tutorials/css-gradient-text-effect/"><P>The trick is very simple. Basically we are just adding a 1px gradient PNG (with alpha transparency) over the text. </P></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.webdesignerwall.com/tutorials/css-gradient-text-effect/"><div align="center"><img src="http://content7.clipmarks.com/blog_cache/www.webdesignerwall.com/img/C5F873FB-E4CE-40FF-89E9-2352A01A1299" alt="screenshot" /></div></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.webdesignerwall.com/tutorials/css-gradient-text-effect/"><div align="center"><img src="http://content8.clipmarks.com/blog_cache/www.webdesignerwall.com/img/EA95D5E8-161E-4A3C-9FAA-86BCB0980286" alt="screenshot" /></div></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.webdesignerwall.com/tutorials/css-gradient-text-effect/"><div align="center"><img src="http://content9.clipmarks.com/blog_cache/www.webdesignerwall.com/img/3BE70DFB-1409-4F69-8753-A3D6868956F9" alt="screenshot" /></div></blockquote></div><div style="margin: 0px 6px 6px 4px;"><table style="font-size: 11px;border-spacing: 0px;padding: 0px;" cellpadding="0" cellspacing="0" width="100%"><tr><td style="background:transparent;border-width:0px;padding:0px;"> </td><td align="right" style="background:transparent;border-width:0px;padding:0px;width:107px" width="107"><a href="http://clipmarks.com/share/03957051-F9AC-43DC-9D64-9E84BB4120BB/blog/" title="blog or email this clip"><img src="http://content6.clipmarks.com/images/c2b-foot.png" border="0" alt="blog it" width="107" height="17" style="border-width:0px;padding:0px;margin:0px;" /></a></td></tr></table></div></div>
Clipmarks
Home
New Clips
Top Clips
Dashboard
Popular Topics
News
Life
Science
Technology
Entertainment
Get Started
Sign Up
Install Clipping Tool
How Clipping Works
Clip-to-Blog™
ClipSearch
Tools and Resources
FAQ
ClipWeek
Top Clippers
Top Tags
Site Map
About Clipmarks
About Us
Contact
Blog
Copyright
Privacy
EULA
OK