摘要:
父级元素 text align:center; 自级元素 text align:left; display:inline block; 阅读全文
posted @ 2017-11-22 11:09
伟_少
阅读(1351)
评论(0)
推荐(0)
摘要:
css代码 .triangle right{ height:0; width:0; border top: 40px solid transparent; border bottom: 40px solid transparent; border left: 30px solid 000; } .t 阅读全文
posted @ 2017-11-22 10:54
伟_少
阅读(536)
评论(0)
推荐(1)
摘要:
兼容总结 如果两个都是属性,用逻辑 || 做兼容 如果有一个是方法,用三元做兼容 如果多个属性或方法,封装函数做兼容 获取class属性值的兼容 function getClass (obj){ if(obj.getAttribute("class") == null){ return (obj.g 阅读全文
posted @ 2017-11-22 10:12
伟_少
阅读(229)
评论(1)
推荐(1)

浙公网安备 33010602011771号