chinchang / chinchang/hint.css
[suggestion] manual trigger class
Open
- Dominant language
- CSS
- Stars
- 8.4k
- Forks
- 680
- PR merge metrics
- No merged PRs in 30d
Description
I'm currently facing a issue with mobile devices
I want to have tooltips automatically disappear after 3 seconds. I'm toggling hint--always with js onClick and after 3 seconds to make it appear/disappear
The problem is that it remains visible because the element is :hovered. I can't have another class toggling the visibility/opacity of after&before because i'm sacrificing the animation
a possible solution would be implementing a .manual class with a toggle .is-hint-active class
any suggestion?
Contributor guide
Assessment
This issue has not been assessed yet.