我正在寻找解决方案,在引导程序中每行设置卡片组中的卡片数量。
例如,我想每行有两张卡:
<div class="card-deck">
<div class="card">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">
Card text
</p>
</div>
<div class="card-footer">
<small class="text-muted">Card footer text</small>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">
Card text
</p>
</div>
<div class="card-footer">
<small class="text-muted">Card footer text</small>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">
Card text
</p>
</div>
<div class="card-footer">
<small class="text-muted">Card footer text</small>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">
Card text
</p>
</div>
<div class="card-footer">
<small class="text-muted">Card footer text</small>
</div>
</div>
</div>