标签:code 首字母 字母 img cap com 移动 out web
1.优先使用最新版本的IE和Chrome
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
2.关闭IOS键盘首字母自动大写
<input type="text" autocapitalize="off" />
3.移动端取消touch高亮效果
html { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
4.禁止保存或拷贝图片
img {
-webkit-touch-callout: none;
}
5.移动端适配js
<script src="http://g.tbcdn.cn/mtb/lib-flexible/0.3.4/??flexible_css.js,flexible.js"></script>
标签:code 首字母 字母 img cap com 移动 out web
原文地址:http://www.cnblogs.com/xueweijie/p/6841116.html