目录
-
7.1. 浏览器判断
7.2. Sass: Syntactically Awesome Style Sheets
-
-
7.2.1.
7.3. Less
7.4. css 冗余/废弃样式检查
<style> html{filter:gray;} html{filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);} </style>
7.1. 浏览器判断
<!--[if IE 8]> <link rel="stylesheet" type="text/css" href="ie8.css"> <![endif]--> <!--[if IE 7]> <link rel="stylesheet" type="text/css" href="ie7.css"> <![endif]--> <!--[if IE 6]> <link rel="stylesheet" type="text/css" href="ie6.css"> <![endif]-->
<!--[if lt IE 7 ]><html class="ie6" lang="zh-cn"><![endif]--> <!--[if IE 7 ]><html class="ie7" lang="zh-cn"><![endif]--> <!--[if IE 8 ]><html class="ie8" lang="zh-cn"><![endif]--> <!--[if IE 9 ]><html class="ie9" lang="zh-cn"><![endif]-->
原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。