I have an HTML document. It looks like this:
When the user hovers \"stackinfo\" image, I w
Thank you for all your replies, but I found a method that works great!
This is the CSS code:
#Logo.MainMenu{
margin-left: 0px;
margin-right: 6px;
margin-top: 0px;
margin-bottom: 0px;
width: 100px;
height: 30px;
background: url(/Resources/Images/MainMenu/logo.png);
-webkit-transition: all 200ms ease;
-moz-transition: all 200ms ease;
-ms-transition: all 200ms ease;
-o-transition: all 200ms ease;
transition: all 200ms ease;
}
#Logo.MainMenu:hover {
background-image: url(/Resources/Images/MainMenu/logoHover.png);
}
and on the HTML page:
<div id="Logo" class="MainMenu"> </div>