Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
position: relative;
display: inline;
position: absolute;
bottom: 0;
right: 0;
opacity: 0;
visibility: hidden;
.linkme img {
width: 200px;
height: 100px;
.parent:hover .linkme{
opacity: 1;
visibility: visible;
<div class="parent">
<a class="background">
<img src="!!-:strip_icc-!!-/2014/09/19/978/n/1922507/3a1a55fda9cc796d_thumb_temp_image13465311411161397/i/Funny-Cat-Costumes.jpg"/>
<a class="linkme" href="" target="_blank">
<img src="" class="child-photo" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment