Hi all,
This is something that has been making me pull my hair out for the past five hours! I had it working days ago on another div, but then I made some changes to that div of which I thought I still knew how to do... apparently not.
I'm just trying to make one image dissolve into another upon hover, and then dissolve back to the original image when the mouse cursor is moved away.
(This is kind of related to my other resolved thread, except this one has nothing to do with lists.)
I've made a fiddle of my latest progress.
Or if you prefer the CSS:
And the HTML:Code:#home .stripes, #home .stripes:hover a { text-indent: -9999px; width: 116px; height: 128px; margin: 50px 0px 0px 56px; float:left; padding: 0; background:url('http://www.clipartpal.com/_thumbs/024/christmas/christmas_024_02_tns.png'); } #home .stripes a { background:url('https://secure.10foldsolutions.com/ecommerce/images/9/products/29197.jpg'); -webkit-transition: all .6s ease-in-out; -moz-transition: all .6s ease-in-out; -o-transition: all .6s ease-in-out; -ms-transition: all .6s ease-in-out; transition: all .6s ease-in-out; } #home .stripes a:hover, #home .stripes a:focus { background:url('https://secure.10foldsolutions.com/ecommerce/images/9/products/29197.jpg'); opacity: 0; }
Does anybody know what is the issue here? Thanks!Code:<div id="home"><div class="stripes"><a href="index.php">Home</a></div></div>
- Pam



Reply With Quote



instead of than have hover image disappear, you could have it hidden and then have it appear. 

Bookmarks