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