Dec
5
Submitted by admin on Sat, 12/05/2009 - 23:23
Overview:
Working a lot with Drupal and Magento, I figured out a cool way to have drop shadows on system generated text without having to use GD or ImageMagick to create text images, which can be less SEO friendly and more resource intensive.
Edit: Also, the CSS3 property for text shadows isn't very cross browser compatible at this point.
Using simple XHTML and CSS, it is easy to make a cool drop shadow on any text you want. It does look better on larger text.
Example:
Test Shadow
Test Shadow
Test Shadow
Test Shadow
Wrap Shadow
Wrap Shadow
Link Shadow
The Code:
Download:
Download the CSS and HTML files in a few different formats:
Compressed:
.tar.gz | .zip
Decompressed:
markup.html | style.css | markup_styles_inline.html
- admin's blog
- Login or register to post comments

