//字体变清晰
属性:
none ------ 对低像素的文本比较好
subpixel-antialiased------默认值
antialiased ------抗锯齿很好
p{
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
//禁止选中文本
body{
-webkit-user-select: none;
user-select: none;
}
//禁止长按链接或者图片出现菜单
a,img{
-webkit-touch-callout: none;
}
//ios android 去除自带阴影的样式
//在iOS移动端点击时会出现闪动效果 这样定义后可以解决。
//当元素设置值的时候改变元素被点击时背景框的颜色
a,input{
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
// 去除浏览器默认样式
a,input,button{
-webkit-appearance: none;
}