I am facing a challenge in creating an image with overlay text (H3 above a p), where the text should be displayed at the bottom left without breaking the block and going inline. Currently, with my code, I am seeing the block elements of text change to inline and display side by side at the bottom. Any suggestions on what I might be missing that is causing this issue?
<div class="col-4 p-0">
<img src="imgs/design.jpg" class="img-fluid">
<div class="card-img-overlay d-flex align-items-end">
<h4 class="card-title">What's Next?</h4>
<p class="card-text">Is this the end?</p>
</div>
</div