How to make it

First we will take a container and inside it we will take card container and inside it we will have img, h2, p and button

We will target the card and then use display: flex, flex-direction column to keep all the card items vertically

We will give heigt as much as we want but not height and use align-items center to keep all the card items in center

Now finally target the button and use margin-top auto to align well.

Lorem ipsum dolor sit amet.

Lorem ipsum dolor sit amet consectetur adipisicing elit. Rerum, molestias.

Lorem ipsum dolor sit amet.

Lorem ipsum dolor sit amet consectetur adipisicing elit. Rerum, molestias.

Lorem ipsum.

Lorem ipsum dolor, sit amet consectetur adipisicing elit. Consectetur, odit laborum. Ducimus dolor recusandae tenetur non maxime impedit veritatis nisi!

Lorem ipsum.

Lorem ipsum dolor, sit amet consectetur adipisicing elit. Consectetur, odit laborum. Ducimus dolor recusandae tenetur non maxime impedit veritatis nisi! Lorem ipsum dolor, sit amet consectetur adipisicing elit. Consectetur, odit laborum. Ducimus dolor recusandae tenetur non maxime impedit veritatis nisi!