css - 属性名称前的井号 - CSS 浏览器 hack?

标签 css

这是我正在处理的 CSS 的一部分:

.center-part-3 { #position: relative; #top: -50%; }

我从未见过这种哈希符号的用法。它有什么用?

最佳答案

理论上是一个hack for IE7 :

但是这里有 a comprehensive list of browser which fails or pass that hack . IE不在列表中(不在通过或失败列表中),但将其他浏览器添加到失败列表中。

关于css - 属性名称前的井号 - CSS 浏览器 hack?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8653650/

相关文章:

html - 我如何在CSS中将所有图像向右移动

python - 如何更改 pandas DataFrame header 的样式?

css - 开源字体

javascript - 单击 different-2 缩略图时页面跳转

html - 更改背景图像,从其他缩略图中选择 - Ionic

css - 标题、h1 和导航- 使导航不可移动

html - CSS :after pseudoselector does not consider text clipping

jquery - .outerHeight 不考虑填充

css - 分辨率低于媒体查询,但仍然不起作用

html - 如何获得粘性页脚?