[Support request] Pushing a div at the bottom of its container

Home Forums Support [Support request] Pushing a div at the bottom of its container

Home Forums Support Pushing a div at the bottom of its container

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2201502
    Antonio

    Hello,
    I’m trying to push some buttons to the bottom of their container (see here):

    Screen

    I was trying to apply this CSS:

    .gb-container-clienti-col-33 > .gb-inside-container {
    height: 100%;
    }

    .gb-container-clienti-col-33 > .gb-inside-container .gb-button-wrapper-primario {
    align-self: flex-end;
    }

    But the button is not pushed at the bottom end of its container.

    Thank you

    #2201511
    David
    Staff
    Customer Support

    Hi there,

    you could do this:

    .gb-container-clienti-col-33 > .gb-inside-container {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .gb-container-clienti-col-33 > .gb-inside-container :last-child {
        margin-top: auto;
    }

    But you will need to revisit your Button effect ….

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.