Swap images via CSS

Last time I tested how to swap an image if you hover on it with the mouse. Today, the same, but this time the image swape is realised via plain CSS.

[CODE HTML4STRICT]

Test




[/CODE]

If you like to place a link on the image you’ll just have to surround the div tag with an ordinary „a“ tag.

XHTML Live Example

Permanentlink zu diesem Beitrag: http://techblog.steffmeister.at/swap-images-via-css/

Schreibe einen Kommentar

Your email address will not be published.

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.