Code Snippet
Blurry Text
Make the text color transparent but add a shadow:
.blur {
color: transparent;
text-shadow: 0 0 5px rgba(0,0,0,0.5);
}
Blurry
More browsers support color than text-shadow though, so you might want to do feature detection. Or, leave the color property and do enough shadowing that it appears blurry anyway (demo).
Nice effect.
Color: transparent works nicely in Gecko and Webkit but it hides the text & the text-shadow in Opera.
Use color: rgba(0, 0, 0, 0) for better cross browser compatibility.
Jeez man. This is actually genius. I can’t believe this has alluded me so many years.
Combine this with javascript, and you can build quite a website with pseudo depth-of-field effects.
Thanks the inspiration.
these kind of text are search engine friendly…..?
@edward; Yes they are. The text is still there, just as normal. The only difference is that the color is transparent and it has a blurry shadow applied to it. Search engines have no issues reading it.
nice done
hi chris
nice effect
very very nice trick…. :-)
Lol, simple and effective :)
DigWP
A book and blog co-authored by Jeff Starr and myself about the World's most popular publishing platform.
Quotes on Design
Design, like Art, can be an elusive word to define and an awfully fun thing to have opinions about.
HTML-Ipsum
One-click copy to clipboard access to Lorem Ipsum text that comes wrapped in a variety of HTML.
Bookshelf
Hey Chris, what books do you recommend? These, young fertile mind, these.