Answer the question
In order to leave comments, you need to log in
What properties to set flex items?
Good afternoon!
There is a product catalog - it's flex with flex-wrap:wrap;
The food itself is inside.
The question is: what properties to set for flex items so that they have a maximum size of 350px; minimum size 250px; and while the directory itself is decreasing in width, the flex items are first reduced to the minimum width, then transferred, and there they are increased to the maximum width.
Is this possible at all?
Answer the question
In order to leave comments, you need to log in
Here is another good way on grids
https://habr.com/en/company/edison/blog/344878/
If you know the number in the line, you can use width 100% / number of elements.
Although the Pink bird option is better for me)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question