Answer the question
In order to leave comments, you need to log in
How to make a certain number of items in a row on flexbox?
There is a list that contains 7 cards. How to make it so that there are no more than 5 cards in a row on large screens, and on smaller ones the block is rebuilt depending on the screen size?
Answer the question
In order to leave comments, you need to log in
The changes will take effect after 820px, at a resolution no more than 5 cards will be rendered.
use the parent class row, and set the children to col-1,2,3,4,5,6,12 depending on the required width
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question