Css 如何在引导4中设置卡片组中每行的卡片数

Css 如何在引导4中设置卡片组中每行的卡片数,css,bootstrap-4,bootstrap-cards,Css,Bootstrap 4,Bootstrap Cards,我正在寻找解决方案设置数量的卡牌组每行在引导 例如,我希望每行有两张卡: 卡片标题 卡片文本 卡片页脚文本 卡片标题 卡片文本 卡片页脚文本 卡片标题 卡片文本 卡片页脚文本 卡片标题 卡片文本 卡片页脚文本 卡片标题 卡片文本 卡片页脚文本 卡片标题 卡片文本 卡片页脚文本 卡片标题 卡片文本 卡片页脚文本 卡片标题 卡片文本 卡片页脚文本 这就是你想要的吗 卡片标题 卡片文本 卡片页脚文本 卡片标题 卡片文本 卡片页脚文本 卡片标题 卡片文

我正在寻找解决方案设置数量的卡牌组每行在引导

例如,我希望每行有两张卡:


卡片标题

卡片文本

卡片页脚文本 卡片标题

卡片文本

卡片页脚文本 卡片标题

卡片文本

卡片页脚文本 卡片标题

卡片文本

卡片页脚文本

卡片标题

卡片文本

卡片页脚文本 卡片标题

卡片文本

卡片页脚文本 卡片标题

卡片文本

卡片页脚文本 卡片标题

卡片文本

卡片页脚文本
这就是你想要的吗


卡片标题

卡片文本

卡片页脚文本 卡片标题

卡片文本

卡片页脚文本 卡片标题

卡片文本

卡片页脚文本 卡片标题

卡片文本

卡片页脚文本
我希望您喜欢这样: 如果您希望卡片之间有更多的间隙可以将类
.md-3
更改为
.md-4


卡片标题

卡片文本

卡片页脚文本 卡片标题

卡片文本

卡片页脚文本 卡片标题

卡片文本

卡片页脚文本 卡片标题

卡片文本

卡片页脚文本
“我希望每行有两张卡”-你错过了吗?如果您解释了所做的更改及其原因,而不仅仅是转储代码,这将非常有用。在这里,您可以使用col-sm-6Perfect类在一行中添加两张卡!是否有可能增加卡片之间的间隙?@profiler为我添加卡片之间的间隙提供了上述示例。