Created
November 10, 2016 09:30
-
-
Save dotMastaz/1dc8f48f3cd567dd8feaa5110dc20c9e to your computer and use it in GitHub Desktop.
Rollover Image for Email
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
.rollover:hover > img, | |
* [summary=rollover]:hover > img { max-height: 0px !important; } | |
.rollover:hover > div img, | |
* [summary=rollover]:hover > div img{ max-height: none !important; } | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a class="rollover" summary="rollover" href="http://nike.com"> | |
<img src="http://freshinbox.com/tools/rollover/images/shoe-rollover.jpg" width="400" style="display:block;width:100%;" alt="Nike Shoes" border="0"> | |
<div style="mso-hide:all;"><img src="http://freshinbox.com/tools/rollover/images/shoe-rollover-alt.jpg" style="max-height:0px;display:block;width:100%;" width="400" alt="" border="0"></div> | |
</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment