文章出處
文章列表
眾所周知
區別ie6~8的方法是:
width:10px;//chrome
width:10px\9;//ie8+
*width:10px;//ie7
_width:10px;//ie6
區別ie8以下和ie9+的方法是
body{width:10px\9;}//ie8
:root body{width:10px\9;}//ie9+
百度下 ":root" 就可以知道,所有主流瀏覽器均支持 :root 選擇器,除了 IE8 及更早的版本。
模版世界:http://www.templatesy.com
文章列表
全站熱搜