摘要:
1.检测桌面端浏览器的特性。$.checkDetect=function(){varDetect={ie:/msie\s*\d+\.\d/gi,chrome:/chrome\/[\w\.]+(\s)?/gi,firefox:/firefox\/[\w\.]+(\s)?/gi,};varua=navi... 阅读全文
posted @ 2014-07-25 20:01
heimanba
阅读(290)
评论(0)
推荐(0)
摘要:
回到顶部 JS 代码backTop =function(){if(!document.querySelector("#backTop")){return;}document.querySelector("#backTop").addEventListener("click",function(){s... 阅读全文
posted @ 2014-07-25 19:34
heimanba
阅读(856)
评论(0)
推荐(0)
摘要:
css代码:input{width:200px;height:40px;}input.focus{border-color:#08c;box-shadow:004px#8bd6fb;transition:all.2sease-out0s;} 阅读全文
posted @ 2014-07-25 16:30
heimanba
阅读(300)
评论(0)
推荐(0)

浙公网安备 33010602011771号