Overlay cheating

My friend, philosoraptor in arms, wondered how to achieve a fade of two images with similar base states. For instance, he had a glow to add to a thick sans-serif font on mouseover. Without resorting to some free and bad looking webfont, the alternative was something like this: position the original, relatively the overlay with zero opacity right over it and then on #original:hover, raise the opacity up to max with a transition.

Leave a Reply

You must be logged in to post a comment.