1.div 溢出隐藏 div文字溢出用点(省略号)代替
white-space:nowrap;
text-overflow:ellipsis;
overflow: hidden;
2.div 溢出隐藏 div文字超过两行用点(省略号)代替
text-overflow:-o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display:-webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient:vertical;
3.子div的margin-top影响父div的位置
向父元素加入overflow:hidden
4.移动端(ios):active伪类无效
<body ontouchstart=""></body> 或 document.body.addEventListener('touchstart', function () { });
5.ios上点击输入框的瞬间会出现灰色背景
-webkit-tap-highlight-color:rgba(0,0,0,0);
6.ios上滚动不流畅
-webkit-overflow-scrolling: touch;
7.禁止复制、选中文本
-webkit-user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
user-select: none;