S
S
Sergey Mamenko2017-04-11 12:55:12
css
Sergey Mamenko, 2017-04-11 12:55:12

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?
kCyc83v.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Goncharov, 2017-04-11
@bobongida97

.родитель{
display: flex;
flex-direction: column;
justify-content: flex-start;
height: XXX;
}
.последний потомок{
margin-top: auto;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question