Image Hovers by eckert


If you have an image and you want to use CSS to make a hover, here’s how.
This code simply changes the border color, but you can change the CSS to make the hover do anything you want.

img {border: 1px solid #c5c5c5;}
img:hover {border: 1px solid #000;}

Click HERE for an example.

If you have the code inside a div (i.e. picture), you can add that id before the code.

#picture img {border: 1px solid #c5c5c5;}
#picture img:hover {border: 1px solid #000;}

Tags: , , , ,

One Response to “Image Hovers”

  1. Pablo Guiski Says:

    I guess he plans on magically inventing new techniques for people to function with vitality.

Leave a Reply


It’s Called Web Design is sponsored by Seeing Interactive and powered by WordPress
Entries (RSS) and Comments (RSS).
53 queries. 0.306 seconds.