我注意到在 bootstrap 响应式 CSS 中,有这个类:
.row{margin-left:-30px;*zoom:1}
我从来没有在 css 属性中遇到内联 *
。谁能解释一下这是做什么的?
最佳答案
这就像 IE5.5 - IE7 的内联条件语句。只有 IE 5.5、IE6 和 IE7 会显示 zoom: 1
,因为内联 *
(称为“star property hack”)。类似于带有下划线 _
的 IE6 hack。
关于css - 什么*缩放 :1 do in bootstrap?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14927651/