TheOS.IN

Howto create CSS Image Rollovers effect wihout using Javascript

Wow, this tutorial is pretty simple. I was looking for something like this for my small project. This CSS code gives the same effect as with a JavaScript rollover except users dont need JavaScript and you only have to load a single image.

I really hate having to use JavaScript for image rollovers as it seems messy, requires two separate images and can only degrade gracefully to nothing if the user has JavaScript turned off.

CSS Image Rollovers [redvodkajelly.com]

Exit mobile version