Skip to content

问下关于监听 touchstart 的作用 #5118

Answered by awmleer
IronKinoko asked this question in Q&A
Discussion options

You must be logged in to vote

是为了让 iOS Safari 下 button 和 a 的 :active CSS 能生效,的确有点黑

更多信息可以看这里:https://stackoverflow.com/questions/3885018/active-pseudo-class-doesnt-work-in-mobile-safari

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@miracles1919
Comment options

@awmleer
Comment options

Answer selected by awmleer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants