Created
January 31, 2014 15:41
-
-
Save wayferer/8734476 to your computer and use it in GitHub Desktop.
In order to enable :hover / :active states in touch devices
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body ontouchstart=""> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.body.addEventlistener('touchstart',function(){},false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment