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... 阅读全文
posted @ 2016-05-20 15:55 顺文章 阅读(498) 评论(0) 推荐(0)
移动端滑动 增加弹性 滑动更加顺畅
摘要:/* 增加该属性,可以增加弹性,是滑动更加顺畅 */ -webkit-overflow-scrolling: touch; 阅读全文
posted @ 2016-05-14 12:51 顺文章 阅读(744) 评论(0) 推荐(0)
移动端点击激活时背景色
摘要:-webkit-tap-highlight-color: rgba(0, 0, 0, 0); 阅读全文
posted @ 2016-05-14 12:50 顺文章 阅读(183) 评论(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; 阅读全文
posted @ 2016-05-14 12:49 顺文章 阅读(180) 评论(0) 推荐(0)
移动端元素被选中时,去除背景
摘要:div::selection{ background:none } div::-moz-selection { background:none } div::-webkit-selection { background:none} div::selection{ background:none } 阅读全文
posted @ 2016-05-14 12:46 顺文章 阅读(222) 评论(0) 推荐(0)
CSS动画 防止动画结束后,回归原位
摘要:animation-fill-mode防止动画结束后,回归原位 animation: arrowsfirst 1s; animation-timing-function: linear; animation-fill-mode: forwards; -webkit-animation: arrows 阅读全文
posted @ 2016-05-14 12:45 顺文章 阅读(818) 评论(0) 推荐(0)