摘要:
//弹框垂直居中 .mint-popup { //弹框垂直居中 .mint-popup { } 阅读全文
摘要:
<link href="basic4.css"><style></style> window.onload=function(){ //更加简便的获取sheet的方法 //document.styleSheets得到的是StyleSheetList集合 var sheet=document.styl 阅读全文
摘要:
addClass('ccc'); //原来的保留,附加这个box.className='ccc' //这个就是把原来的清空掉,用这个removeClass(box,'bbb'); 检查class是否存在function hasClass(element,cName){ return !!elemen 阅读全文