Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS vertical fill of div

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #254888
    JuanVolares
    Participant

    Hi, I need a front-end expert for (probably) a simple problem:

    I use a template from template monster. Click here to see the body of a page I made.

    I want the 3 buttons to align to the bottom of the div on the left (the div with the pictures). Click here for a mockup.

    How can I do this? The template came with both Flex and Bootstrap grid system.

    I hope you know what I mean.

    Thank you!

    #254889
    Paulie_D
    Member

    Without knowing the HTML structure it’s hard to comment.

    In general though you can give the right container display:flex and flex-direction:column.

    Then assuming your buttons are in their own div you can give that margin-top:auto and it will automatically be pushed to the bottom.

    Like this:

    https://codepen.io/Paulie-D/pen/ybEoKW

    #254893
    JuanVolares
    Participant

    Hello Paulie_D,

    Click Here to visit the page with the code, hope this helps!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.