.course-card{
background: white;
border-radius: 0.25rem;
padding: 1rem 1rem 1rem 1rem;
text-align: center;
}
<div class="row d-flex align-items-center course-card">
<div class="col-md-6 course-progress">
<p>test</p>
</div>
<div class="col-md-6 course-info">
<div id="div2-1 course-name">
<p>test</p>
</div>
<div id="div2-2 course-button">
<p>test</p>
</div>
</div>
</div>
I am attempting to align my content in bootstrap, however, despite adding d-flex align-items-center
, the content remains misaligned. As illustrated in the image, it is not centered properly and there is more space at the bottom than expected.