CSS mouver Hover border change

This should be the easiest thing to do. Tested it in Chrome, IE, and FF and it worked. Just add additional class to your css and you will get the “:hover” effect. Change the colors to suit your needs. Example:

.imgborder {border: 1px solid black}
.imgborder:hover {border: 1px solid red}

Make sure that “border: none;” isn’t specified anywhere else.

By Keenlio, April 7, 2014

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *


− three = 6

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>