【发布时间】:2020-06-04 04:38:56
【问题描述】:
我使用 Bootstrap 4 有以下包含 3 列的容器
<section id="features">
<div class="container-fluid">
<div class="row justify-content-around">
<div class="col-lg-4 col-md-12 ">
<i class="fas fa-check-circle"></i>
<h3>Easy to use.</h3>
<p>So easy to use, even your dog could do it.</p>
</div>
<div class="col-lg-4 col-md-12" >
<i class="fas fa-bullseye"></i>
<h3>Elite Clientele</h3>
<p>We have all the dogs, the greatest dogs.</p>
</div>
<div class="col-lg-4 col-md-12">
<i class="fas fa-heart"></i>
<h3>Guaranteed to work.</h3>
<p>Find the love of your dog's life or your money back.</p>
</div>
</div>
</div>
</section>
我想在它们之间添加空格,以便它们更加分开,但是当我尝试添加填充或边距时,它会破坏行。如何在同一行中添加维护三个项目的空间。
【问题讨论】:
标签: css twitter-bootstrap bootstrap-4