Skip to content

Instantly share code, notes, and snippets.

@stbaer
Created June 16, 2015 11:02
Show Gist options
  • Save stbaer/7fc5c8fc6c6095b9e2b3 to your computer and use it in GitHub Desktop.
Save stbaer/7fc5c8fc6c6095b9e2b3 to your computer and use it in GitHub Desktop.
hint.css timeouts
// show after 500ms, hide after 1000ms
hint--timeout:before, .hint--timeout:after {
-webkit-transition-delay: 1000ms;
-moz-transition-delay: 1000ms;
transition-delay: 1000ms;
}
.hint--timeout:hover:before, .hint--timeout:hover:after {
-webkit-transition-delay: 500ms;
-moz-transition-delay: 500ms;
transition-delay: 500ms;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment