1
Good friends. I have the following problem regarding the vertical alignment of my cards, below I leave the image and the code to better illustrate. Is there any way they can help me? To point out that it’s inside a container.. I’m still in the learning phase... Thank you
<div class="row">
<div class="col-sm-5 mr-3 mb-3 justify-content-sm-center">
<div class="card border-0" id="content-a" style="height:
12rem;">
<div class="card-body text-center">
<h4 class="card-title font-weight-bold">Jogos da
Multiplicação</h4>
<a href="multip_game.html" class="card-link
text-center" style="font-size: 15pt;
text-decoration: underline;">→Entra e
joga!←</a>
</div>
</div>
</div>
<div class="col-sm-5 mb-3 ">
<div class="card border-0 bg-warning" id="content-b"
style="height: 12rem;">
<div class="card-body text-center">
<h4 class="card-title text-center font-weight-bold">Jogo
da Divisão</h4>
<a href="divi_game.html" class="card-link
text-center" style="font-size:
15pt;text-decoration: underline;">→Entra e
joga!←</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-5 mr-3 mb-3">
<div class="card border-0" id="content-c" style="height:
12rem;">
<div class="card-body text-center">
<h4 class="card-title font-weight-bold">Jogo do Par
ou Impar <span class="special-word">?</span><span
class="special-word3">?</span></h4>
<a href="par_impar_game.html" class="card-link"
style="font-size: 15pt;text-decoration:
underline;">→Entra e joga!←</a>
</div>
</div>
</div>
<div class="col-sm-5 mb-5 mb-3 ">
<div class="card border-0" id="content-d" style="height:
12rem;">
<div class="card-body text-center">
<h4 class="card-title font-weight-bold">Jogo do
Primo ou não primo<span class="special-word">?</span><span
class="special-word3">?</span></h4>
<a href="prim_game.html" class="card-link"
style="font-size: 15pt;text-decoration:
underline;">→Entra e joga!←</a>
</div>
</div>
</div>
</div>
What’s the matter?
– Sam
I would like to align the cards so that they are aligned. In the image you can see that the first card is aligned with the third card and the second is aligned with the last
– Ayrton Pereira