R
R
relows2018-12-16 09:18:58
Flexbox
relows, 2018-12-16 09:18:58

How to do vertical alignment with flexbox?

I need the rows to be evenly distributed in the container and the distance between them to be the same.

5c15ee7f7ea13923580135.png

I gave the parent element:

.flex01 {
  display: flex;
  flex-direction: column;
  align-content: space-between;
  height: 100%;
}

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
A person from Kazakhstan, 2018-12-16
@LenovoId

what should be the result?

A
Alexandra, 2018-12-17
@Aleksa-s

Evenly distribute horizontally and vertically with equal indents?

L
Leo, 2019-01-12
@DLeo13

Subsidiaries, I hope, are separate?
flex for children to specify size and/or margin:auto

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question