I have created multiple CSS flexboxes on this landing page and I would like to have the SELECT button to be always on the bottom of each box, no matter the size of textual content above. I tried to use multiple properties such as align-self, justify-content, align-items, align-text with various attributes but could not achieve the desired outcome.
Would could I possibly do in this situation to make it work?
Here is the screenshot of flexboxes:
Here is my HTML and CSS for this section:
#pricing-option-1, #pricing-option-2, #pricing-option-3 {
display: flex;
flex-direction: column;
border-style: solid;
border-color: rgb(230, 230, 230);
border-radius: 25px;
padding: 25px;
margin: 10px;
width: 30%;
background-color: yellow;
}
.pricing-amount {
background-color: blue;
}
<div id="pricing-option-2">
<h3 class="pricing-option-header">BASIC ENBALI</h3>
<p class="pricing-amount">$1200/month</p>
<div class="pricing-body">
<p class="pricing-option-description">The most popular option. You wouldn't need to worry about finding a place to live, commute to the classes, cooking or find a right place to eat. We got you!</p>
<ul class="pricing-option-bulletpoints">
<li>80 hours of any classes</li>
<li>Accommodation on campus (4 people per room)</li>
<li>Meal plan (3 times a day)</li>
<li>Unlimited access to our library</li>
<li>Unlimited access to our online courses library</li>
</ul>
</div>
<p class="select-option">
<button type="submit">SELECT</button>
</p>
</div>