Skip to content

Instantly share code, notes, and snippets.

@Ianfeather
Forked from anonymous/dabblet.css
Created May 10, 2012 09:13
Show Gist options
  • Save Ianfeather/2652045 to your computer and use it in GitHub Desktop.
Save Ianfeather/2652045 to your computer and use it in GitHub Desktop.
Untitled
div{
display:inline-block;
padding:5px;
margin:10px;
border:1px solid #ccc;
transition: 0s background-color;
}
div:hover{
background-color:red;
transition-delay:1s;
}
span {
opacity:0;
position: absolute;
left: 200px;
top: 200px;
transition: 0s all;
}
div:hover span {
opacity: 1;
transition-delay:1s;
}
<div>delayed hover
<span>gHello</span>
</div>
{"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