05 2016 档案
js判断 微信浏览器 或者 QQ内置浏览器
摘要:function isWeiXinOrQQ(){ var ua = window.navigator.userAgent.toLowerCase(); if(ua.match(/MicroMessenger/i) == 'micromessenger' || ua.match(/\sqq/i) == " qq"){ return true; }else{ return...
阅读全文
移动端滑动 增加弹性 滑动更加顺畅
摘要:/* 增加该属性,可以增加弹性,是滑动更加顺畅 */ -webkit-overflow-scrolling: touch;
阅读全文
移动端点击激活时背景色
摘要:-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
阅读全文
文字两端对齐
摘要:text-align:justify; word-break:break-all; stext-justify:distribute-all-lines; /*ie6-8*/ text-justify:inter-ideograph; -webkit-text-align-last:justify;
阅读全文
移动端元素被选中时,去除背景
摘要:div::selection{ background:none } div::-moz-selection { background:none } div::-webkit-selection { background:none} div::selection{ background:none }
阅读全文
CSS动画 防止动画结束后,回归原位
摘要:animation-fill-mode防止动画结束后,回归原位 animation: arrowsfirst 1s; animation-timing-function: linear; animation-fill-mode: forwards; -webkit-animation: arrows
阅读全文
浙公网安备 33010602011771号