首页 > 开发 > CSS > 正文

css hack:通用的css hack

2024-07-11 09:01:52
字体:
来源:转载
供稿:网友

武林网(www.vevb.com)文章简介:css hack .

.all-IE{property:value/9;}

:root .IE-9{property:value/0/;}

.gte-IE-8{property:value/0;}

.lte-IE-7{*property:value;}

.IE-7{+property:value;}

.IE-6{_property:value;}

.not-IE{property//:value;}

@-moz-document url-prefix() { .firefox{property:value;} }

@media all and (-webkit-min-device-pixel-ratio:0) { .webkit{property:value;} }

@media all and (-webkit-min-device-pixel-ratio:10000),not all and (-webkit-min-device-pixel-ratio:0) { .opera{property:value;} }

@media screen and (max-device-width: 480px) { .iphone-or-mobile-s-webkit{property:value;} }

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表