Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在平板电脑上有 HTML 文档,当div元素接收touchstart事件时,:hover状态:active似乎被激活,即使手指移出元素并且touchend不调用事件,它们也保持活动状态。一旦手指离开元素,如何关闭悬停/活动状态?
div
touchstart
:hover
:active
touchend