Incorporating Bootsrap 4(.3.1) classes into my code, I have designed the following elements:
<footer class="container-fluid">
<div class="row">
<div class="col">
Copyright ©
</div>
<div class="col text-right">
<a class="">Back to top</a>
</div>
</div>
</footer>
The height of <footer>
has been set at 100px and now I want the content inside the cols to be vertically aligned in the center of the element.
Trying to achieve this, I experimented with adding d-flex align-items-center
to different elements (container, row, and cols), but unfortunately, no significant change was observed.
Should I abandon the grid classes entirely and start over using flex classes? Or is there a way Bootstrap provides an out-of-the-box solution through its existing classes?