0

I'm using flex-box to align some items (say, cards).

Right now I have 4 cards in each row, thus the 5'th will be on the next row along with card 6,7,8 and number 9 will be on the third row etc.

The issue is - when I have 2 or 3 cards in a row they wont be aligned with the cards above them - they are spread out on the remaining space (which is how flex-box work).

I would like to have them being appended from left to right i.e aligned with the column above them - is that possible using flexbox? I have tried using

justify-content:flex-start

but that does not make any difference

CutePoison
  • 3,725
  • 4
  • 21
  • 32

0 Answers0