【发布时间】:2017-08-03 08:44:40
【问题描述】:
我的 html 看起来像:
<div style="display: table">
<div style="display: table-row">
<div style="display: table-cell">
... some content
</div>
<div style="display: table-cell">
second cell content
</div>
</div>
</div>
我正在寻找可以匹配所有具有display: table-cell 样式的 div 的 css 选择器。有可能吗?
【问题讨论】:
-
您不能只更改 HTML 标记吗?
-
@Chrisstar 就我而言,它是生成的 html。
标签: html css css-selectors