.demo { color: red;/*所有现代浏览器*/ color: green9;/*所有IE浏览器*/ color:#CC0\0;/*IE8-9浏览器*/ color:#F0F\9\0;/*ie9*/*color: red;/*IE6-7浏览器*/ +color: blue;/*IE7浏览器*/ _color: orange;/*IE6浏览器*/ }
@-moz-document url-prefix(){.demo{color:#897}/* all firefox */}
@media screen and (-webkit-min-device-pixel-ratio:0) { .demo { color:#606; }/*webkit*/ }
@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) { head~body .demo { color: red; }/*opera*/ }
不会到会,只是一个过程!