I
I
infommmm2021-01-19 15:48:18
Flexbox
infommmm, 2021-01-19 15:48:18

How to stretch to the width of a column in Flexbox?

How to do it right on flex ?
cells in 3 rows are stretched over the entire container and there is a gap between them, as in a grid, for example. 20px
in what to set the sizes? in percentages?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
BoriHagen, 2021-01-19
@infommmm

You can give them a margin on the sides and put justify-content: space-between on the parent block.
And look at the sizes there yourself, you can put 30% each.
https://tpverstak.ru/flex-cheatsheet/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question