Last active
July 25, 2017 06:01
-
-
Save foreverplay/0f6dcd0b19fa0a785be37c297ad450a4 to your computer and use it in GitHub Desktop.
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
# *{ | |
webkit-tap-highlight-color:rgba(0,0,0,0);//去掉点击高亮 | |
-webkit-appearance: none;//消除输入框和按钮的原生外观 | |
-webkit-user-select: none; //禁止页面文字选择,此属性不继承,一般加在body上规定整个body的文字都不会自动调整 | |
-webkit-text-size-adjust: none; //禁止文字自动调整大小 | |
-webkit-touch-callout:none; // 禁用长按页面时的弹出菜单(iOS下有效) ,img和a标签都要加 | |
pointer-events: none;//禁止长按图片 | |
} | |
# -webkit-overflow-scrolling: touch;与position: absolute;莫名冲突导致样式混乱,暂用fixed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment