Answer the question
In order to leave comments, you need to log in
How to lay out a block in which other blocks in a row occupy 100% of its width?
Is there an option to make one without limiting the height of the row?
Answer the question
In order to leave comments, you need to log in
Create a container, the rows of blocks included in it are equal to 100% of the width of the container,
the width of each block, or hardcore with percentages, or use js to calculate.
The height is the same.
In order not to suffer from calculations, use flex: auto, -shrink, -grow; align stretch
background images through cover and contain
if you need a code, tell me, I'll throw it
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question