Answer the question
In order to leave comments, you need to log in
How to make such transfer of elements?
There is a container in which 6 blocks are located at a fixed distance from each other on the same line .
How to make it so that when the container is compressed in width , as soon as the blocks do not fit, IMMEDIATELY make two lines of 3 elements each ? (and so on, i.e. 3 rows of 2 elements, and 6 rows of 1)
It's cumbersome with media queries ..
I tried to do it through grids and them auto-fill
, but nothing happened.
Thanks to those who responded!!
Answer the question
In order to leave comments, you need to log in
Only through @media
requests, as it auto-fill
will transfer one at a time.
via media or js.
It's cumbersome with media queries.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question