Closed wikiro closed 10 years ago
If you want to do it the quick way, here is something you can append to your copy of hint.css
file:
.hint--timeout:before, .hint--timeout:after {
-webkit-transition-delay: 500ms;
-moz-transition-delay: 500ms;
transition-delay: 500ms;
}
Thanks! What about hide hint in 1 sec and what about default properties whithout "--timeout"?
.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;
}
Above code will make tooltip appear in 500ms and hide in 1000ms. This will apply to elements having hint--timeout
class only. Rest other tooltips will function normally.
Great! Thanks!
Thanks, this is very useful!
I want to show hint after 500 ms.