【发布时间】:2014-02-14 07:33:48
【问题描述】:
我想将 div 中的 h1、h2 和 p 标签与 apply_specific_styling 类匹配
代码如下:
<div class="apply_specific_styling">
<h1>Header 1</h1>
<h2>Header 2</h2>
<p>Some text here...</p>
</div>
您如何使用纯 CSS 实现这一目标。我用谷歌搜索没有成功...
谢谢!
【问题讨论】:
标签: html css css-selectors