Topic: card decks center and align button to bottom of card

Bryon Swanson pro asked 6 years ago


Hello, using the card decks code, how would I align the button to the bottom and center of each card when the card-text contain different amounts of text in each of the three cards?   I would like the button positioned the same in all three cards regardless of the amount of card-text.

Ollie Vincent pro answered 6 years ago


Hi,
You will want to position:absolute; the button with a bottom:0;

You will then also want to give the .card-text a margin-bottom:50px; (or something similar) to push the button down a bit and for it to remain in the card.

Thanks



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: Yes
Tags