My current project features a creative flip image card created using bootstrap and js. On the back of the card, there is a title, a main text body, and a few small additional pieces of information. My goal is to have these three small bits of information aligned at the bottom of the card. I attempted to wrap them in a div and apply the class "align-self-end", but unfortunately, this did not produce the desired result.
Below is the html code for the card:
<div class="card mb-4" style="max-width: 300px; min-width: 300px" data-clickable="true">
<div class="card-inner">
<img src="https://via.placeholder.com/1420x1933" class="card-img" alt="...">
<div class="card-img-overlay">
<h5 class="card-title">Card Title</h5>
<p class="card-text info">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
<div class="align-self-end">
<p class="card-text smallinfo"><b>1: </b>John</p>
<p class="card-text smallinfo"><b>2: </b>Smith</p>
<p class="card-text smallinfo"><b>3: </b>2008</p>
</div>
</div>
</div>
</div>
Check out the codepen link below to see the interactive flip card in action (Simply click the card to flip it): https://codepen.io/Darlton29/pen/wvKqyBN
I'm seeking assistance in positioning the three <p>
tags inside the <div>
element at the bottom of the card. Your help is greatly appreciated. Thank you.