Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 72388

How do I hover of the images and get them to change?

$
0
0

I'm trying to image that changes to another image when i hover over it. Unfortunately, no images appear on the html upload. It's just a blank screen. Can someone please help?

The code is below.

Best wishes Dan Collinson

.b-george {

    width: 130px;

    height: 195px;

    background: url("images/beatle.george.jpg") no-repeat;

    margin: 50px;

}

.b-george:hover {

    background: url("images/george.jpg") no-repeat;

}


Viewing all articles
Browse latest Browse all 72388

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>