Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

SOLVED: Flexbox align-self is changing the div's height

trashvin:

I have a Flexbox setup like this


.container {
display: flex;
min-height: 300px !important;
}
.space-between {
justify-content: space-between;
}
.align-end {
align-self: flex-end;
}
.align-center {
align-self: center;
}








The problem is, when I tried setting the align-self to end or center by applying align-end to child#2 and align-center to child#3, it changes the Height of the child where it is being applied.

Any explanation why this is occurring and the possible fix? Thanks



Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
This Question have been answered
HERE


This post first appeared on Stack Solved, please read the originial post: here

Share the post

SOLVED: Flexbox align-self is changing the div's height

×

Subscribe to Stack Solved

Get updates delivered right to your inbox!

Thank you for your subscription

×