【发布时间】:2019-05-26 23:58:00
【问题描述】:
我知道 css 中的点是类,但是我在页面中找到的以下内容中应该选择的 h2 点 h1 是什么?
h1 {
font-size: 30px;
line-height: 32px;
}
h2.h1 {
font-size: 36px;
line-height: 40px;
}
.title.title_size_medium h1 {
font-size: 38px;
line-height: 38px;
}
h1 标签本身从未在页面中使用。
非常感谢
【问题讨论】:
-
这意味着选择带有
.h1类的h2标签。如果.h1类从未使用过,则不会被选中。
标签: css