W
W
WebforSelf2019-12-04 13:56:29
css
WebforSelf, 2019-12-04 13:56:29

How to arrange blocks in this form on flexes?

There is such a block (image, text is displayed in the cycle)
5de78f40b4848181806518.png
But it’s not possible to make up on flexes just like that, on floats I would press them one to the left one to the right, but I’m still learning with flexes. How to place such blocks?
https://codepen.io/webforself/pen/qBEEMby
Site on bootstrap 4 (it turns out that they are placed one under one, and not like on the screen. Negative margins to move them?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2019-12-04
@i__dmitry

justify-content: space-between as an option if you want to push the left column to the left, the center one to the center, and the right one to the right.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question