2
I’m using Bootstrap 4
to assemble a page, and at the time of making cards they are getting bigger or smaller than the others, even if they use the same class col-sm-4
. It’s breaking because their contents are smaller. my doubt is how to leave these cards of the same size regardless of their content, and also how to put the h2
of them in the middle, for the class text-center
only worked in the 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>
There are several techniques to create cards of the same height. Post the code you are using to analyze.
– Maujor
@Maujor opa, my failure to forget the code, I’ve edited
– Guilherme Rigotti