Q
Q
qqGrand2018-12-18 15:50:01
css
qqGrand, 2018-12-18 15:50:01

How can I use flexbox in my case?

Please, show me with an example how I can implement such an option.
Z841qf8.png
Do I need to take each line in a separate flex container, roughly speaking? Or is it all done at once and flex allows you to arrange blocks in this way?
I had no business with flex at all, this is my first acquaintance and I need it urgently: Thank you!

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexander, 2018-12-18
@qqGrand

You can do this, naturally substitute your sizes:

V
Vladislav Lyskov, 2018-12-18
@Vlatqa

each line is a flex container

C
coderxx, 2018-12-18
@coderxx

both options
, depending on the details, one or the other option may be preferable,
but in your example, it makes no difference
the price of the issue - plus / minus a line of code

V
Vladislav Afanasiev, 2018-12-18
@CanST

https://wp-kama.ru/id_8045/flex-v-css.html
For the future ..

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question