【发布时间】:2022-06-10 20:11:35
【问题描述】:
这是由四个方形网格组成的网格的代码。但是,两列之间的差异是不相等的。如何保证等间距?
.industriesFeatureInner {
h2 {
margin-top: 6rem;
font-size: 2rem;
overflow-wrap: break-word;
}
.industriesFeatureList {
flex-direction: row;
gap: 2rem;
overflow-wrap: break-word;
.industriesFeatureListRow {
flex-direction: column;
gap: 2rem;
}
}
}
这是上述样式的输出 image for ref
【问题讨论】:
-
你可以分享一个代码笔或沙箱的工作代码