CSS中的*溢出是什么?

问题描述 投票:1回答:1

我克隆一个存储库并查看下面的CSS类

button,
input {
  *overflow: visible;
  line-height: normal;
}

我从未见过*溢出前的前缀。确切的是*溢出是什么,溢出和*溢出之间有什么区别?

css sass overflow stylesheet
1个回答
1
投票

* +​​溢出黑客仅在IE7中有效

这是IE6的* html hack的变体,但此仅适用于IE7。

文本在IE7中为绿色,在其他浏览器中为蓝色。

例如:

.test { color: blue; }
*+html .test { color: green; }
© www.soinside.com 2019 - 2024. All rights reserved.