众所周知
区别ie6~8的方法是:
10px;//chrome
10px9;//ie8+
*10px;//ie7
_10px;//ie6
区别ie8以下和ie9+的方法是
body{10px9;}//ie8
:root body{10px9;}//ie9+
百度下 ":root" 就可以知道,所有主流浏览器均支持 :root 选择器,除了 IE8 及更早的版本。
模版世界:http://www.templatesy.com
众所周知
区别ie6~8的方法是:
10px;//chrome
10px9;//ie8+
*10px;//ie7
_10px;//ie6
区别ie8以下和ie9+的方法是
body{10px9;}//ie8
:root body{10px9;}//ie9+
百度下 ":root" 就可以知道,所有主流浏览器均支持 :root 选择器,除了 IE8 及更早的版本。
模版世界:http://www.templatesy.com