Answer the question
In order to leave comments, you need to log in
Can flexbox align like this?
Help me please. There is a block in which some of the nested blocks need to be aligned to the top, the other to the bottom. Is it possible to do this with flex-direction column? Or some other way?
Answer the question
In order to leave comments, you need to log in
.родитель{
display: flex;
flex-direction: column;
justify-content: flex-start;
height: XXX;
}
.последний потомок{
margin-top: auto;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question