1
I needed to center this Row in the middle of the page, following the bootstrap documentation, tells me to put align-items-center
along with Row, I did, but nothing has changed. my html structure is currently like this:
<!-- linha dos card -->
<div class="row align-items-center" >
<!-- Tab cursos conteudo -->
<div class="tab-content ">
<div class="tab-pane active container " id="ingles">
<div class="row">
<div class="col col-4">
<div class="card">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<div class="col col-4">
<div class="card">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<div class="col col-4">
<div class="card">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
</div>
</div>
<div class="tab-pane container" id="teenkids">
</div>
<div class="tab-pane container" id="incompany">
</div>
<div class="tab-pane container" id="espanhol">
</div>
</div>
</div>
This is all inside a div container, some other alternative?
Got it, thanks, I changed the whole structure of html because it had more elements than cards, and it was the way I wanted it
– Igor Oliveira
@It’s nice to meet you. There is a lot of material about Flexbox on the internet, after a look pq is very worthwhile and is already well accepted by Browsers etc. Tmj
– hugocsl