Skip to content

Instantly share code, notes, and snippets.

@ream88
Created July 2, 2012 19:32
Show Gist options
  • Select an option

  • Save ream88/3035173 to your computer and use it in GitHub Desktop.

Select an option

Save ream88/3035173 to your computer and use it in GitHub Desktop.
Anita Ammersfeld
/**
* Anita Ammersfeld
*/
a.box {
display: inline-block;
position: relative;
border-top: 1px dashed black;
border-right: 1px dashed black;
cursor: pointer;
}
a.box img {
position: absolute;
width: 200px;
-webkit-transition: opacity 0.2s ease-in;
}
a.box span {
display: table-cell;
height: 100px;
width: 200px;
text-align: center;
vertical-align: middle;
-webkit-transition: opacity 0.2s ease-out 0.1s;
}
a.box img:hover {
opacity: 0;
}
a.box span:hover {
opacity: 1;
}
<a class="box">
<img src="http://www.without-a-limit.com/ammersfeld/style/images/items/biography.png">
<span>Biographie</span>
</a>​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
<a class="box">
<img src="http://www.without-a-limit.com/ammersfeld/style/images/items/biography.png">
<span>Biographie</span>
</a>​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment