I'm using Bootstrap 4
to set up a page, and at the time of making some cards they're getting bigger or smaller than the others, even though they use the same col-sm-4
class. He is breaking because their content is less. my doubts are how to leave those cards of the same size regardless of their content, and also how to put h2
of them in the middle, since the text-center
class only worked in p
<div class="container">
<div class="row">
<div class="col-sm-4">
<div class="box-shadow-full">
<div class="row">
<!-- icone -->
<h2>1</h2>
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Quaerat dolor fuga neque obcaecati reiciendis doloribus ipsa dicta itaque aperiam quasi vero, quo quam eum enim repellendus magnam iusto iure perferendis.,</p>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="box-shadow-full">
<div class="row">
<!-- icone -->
<h2>2</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Error, facere doloribus. Repudiandae iste deserunt odio ullam vitae voluptate nihil itaque ex culpa ab, quos blanditiis fugiat magni sequi debitis fuga?,</p>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="box-shadow-full">
<div class="row">
<!-- icone -->
<h2>3</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Laboriosam suscipit reiciendis nesciunt tenetur excepturi accusantium maiores fugit, illo possimus sunt nihil. Fugiat corporis quod id nemo aliquam?</p>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="box-shadow-full">
<div class="row">
<!-- icone -->
<h2>4</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Blanditiis ab debitis saepe ad dicta? Quis maxime nemo sapiente fugit, quo ratione ad perferendis quaerat, ipsa dolore, dolor molestiae iusto officia?.</p>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="box-shadow-full">
<div class="row">
<!-- icone -->
<h2>5</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Aut tempore sunt natus ab perspiciatis ea beatae commodi optio voluptas porro vero aspernatur debitis, corrupti, libero eius doloremque quae repellendus. Alias!,</p>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="box-shadow-full">
<div class="row">
<!-- icone -->
<h2>6</h2>
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Qu.</p>
</div>
</div>
</div>
</div>