摘要: 作用于解析题: 1.var a=12 function fn(){ console.log(a) //undefined var a=45 console.log(a) //45 } fn() 2.var a=12; function fn(){ console.log(a) //12 a=45 c 阅读全文
posted @ 2018-12-03 14:20 ZmXy 阅读(131) 评论(0) 推荐(0)
摘要: 1. 清除浮动的兼容性 清除浮动在低版本浏览器不行,需要处理兼容性 加一个.clearfix{*zoom:1;} 2. ie低版本不支持Rgba() 3. 每个浏览器都有自己的前缀 主要解决css3中的兼容问题 chrome(谷歌) 的前缀 -webkit- firefox(火狐) 的前缀 -moz 阅读全文
posted @ 2018-12-03 10:30 ZmXy 阅读(203) 评论(0) 推荐(0)