I am currently working on creating cards that contain a link at the end. My goal is to have these links consistently displayed at the bottom of the div, regardless of the text length. Currently, they appear at the end of the text content. Is there an easy way to achieve this?
Instead of using a card footer, I would prefer to align the link at the bottom of the same container where the product link is located. Here's how it appears at the moment:
https://i.sstatic.net/Udjsx.png
HTML
<div class="card wow fadeIn swipe-away hover-shadow ">
<img class="card-img-top" src="<?php the_sub_field('product_image'); ?>">
<div class="card-body">
<h5 class="card-title"> <?php the_sub_field('product_name'); ?></h5>
<p class="card-text"> <?php the_sub_field('brief_description'); ?></p>
<a href="<?php the_sub_field('product_link'); ?>" class="h3 read-more-full btn hero-btn wow fadeIn btn-accent">View Strain</a>
</div>
</div>