S
S
Sergey Komarov2015-10-01 16:43:19
Flexbox
Sergey Komarov, 2015-10-01 16:43:19

How to position two elements using flexbox in this way?

hello. there is a vertical sidebar, it has two elements. how to position so that the first one is at the top and the second one is clearly in the center? Simply it turns out only either both on top or in the center. Thank you

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Jim, 2015-10-01
@afonin0993

flex-direction: column;
align-self: center;
study carefully

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question