Last active
December 21, 2015 22:28
Revisions
-
jarkkosyrjala revised this gist
Aug 29, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Disable the default callout when you touch and hold a touch target. and disable user from selecting content (dragging). */ *:not(input,textarea) { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -
jarkkosyrjala created this gist
Aug 29, 2013 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,39 @@ <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <meta http-equiv="X-UA-Compatible" content="chrome=1, IE=edge"> <title>Title</title> <style type="text/css"> html, body { height: 100%; } body { margin: 0; padding: 0; } /* Disable the default callout when you touch and hold a touch target. and disable user from selecting content (dragging). */ * { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } </style> <script> document.body.addEventListener("touchmove", function(e) { e.preventDefault(); },false); </script> </head> <body> </body> </html>