我有以下html结构:
<div class="parent">
<div class="child">
<div class="sub-child-1"></div>
<div class="sub-child-2"></div>
</div>
</div>
并遵循 CSS 规则
.parent {
display: -ms-grid;
-ms-grid-columns: 150px 1fr 1fr;
}
.child {
-ms-grid-column-span: 2;
}
如何分配sub-child-1
给第一列和sub-child-2
第二列?