区别不同浏览器的css hack写法:
区别ie6与ff:
backgroundrange;*blue;
区别ie6与ie7:
background:green !important;blue;
区别ie7与ff:
backgroundrange; *background:green;
区别ff,ie7,ie6:
backgroundrange;*background:green !important;*blue;
注:ie都能识别*;标准浏览器(如ff)不能识别*;
ie6能识别*,但不能识别 !important,
ie7能识别*,也能识别!important;
ff不能识别*,但能识别!important;
另外再补充一个,下划线"_",
ie6支持下划线,ie7和firefox均不支持下划线。
前端入门到VUE实战笔记:立即使用
在学习笔记中,你将探索 前端 的入门与实战技巧!











