You can use the following Bootstrap 4 modifier classes:
- Add
d-flex
to.card-body
- Add
flex-column
to.card-body
- Add
mt-auto
to.btn
nested in.card-body
Refer to this page for a full list of flexbox modifying classes for Bootstrap 4.
More Related Contents:
- Bootstrap row with columns of different height
- Bootstrap 4: Multilevel Dropdown Inside Navigation
- Animate/Shrink NavBar on scroll using Bootstrap
- One tall div next to two shorter divs on Desktop and stacked on Mobile with Bootstrap 4
- How to center nav-items in Bootstrap? [duplicate]
- Create a responsive navbar sidebar “drawer” in Bootstrap?
- Bootstrap 4 Cards of same height in columns
- How to make Bootstrap 4 cards the same height in card-columns?
- Bootstrap 4 – Sticky footer – Dynamic footer height
- Bootstrap 4 – Responsive cards in card-columns
- Align the form to the center in Bootstrap 4 [duplicate]
- Bootstrap navbar link color won’t change
- Empty vertical space between columns in Bootstrap 4
- Bootstrap navbar: nothing is displayed on smaller devices
- Why aren’t my bootstrap 4 columns the same height?
- CSS float-right not working in Bootstrap 4 Navbar [duplicate]
- How to make Bootstrap cards the same height in card-columns?
- My Website is Mirror-flipped on iPhone Devices
- How can I override Bootstrap CSS styles?
- Bootstrap full-width with 2 different backgrounds (and 2 columns)
- IE8 issue with Twitter Bootstrap 3
- 7 equal columns in bootstrap
- Bootstrap print CSS removes background color
- Bootstrap 3: Push/pull columns only on smaller screen sizes
- How to center buttons in Twitter Bootstrap 3?
- Change color of bootstrap navbar on hover link?
- Bootstrap – Fill fluid container between header and footer
- Right align text within Bootstrap 4 breadcrumbs
- Bootstrap row and col explanation
- Can a div have multiple classes (Twitter Bootstrap) [duplicate]