1

I have 15 Divs with 200px x 200px sized. I also having a container div which height set to 100%.

I need to display the Divs vertically one by one and when its reached the end of the container height, The following divs should display in the second column.

I exactly need my divs to display like floating icons in desktop in PC.

Please help me fix this.

Rushenn
  • 21
  • 1

1 Answers1

1

This can be done by setting css column-count property of ul to number of columns

This link explain more about this solution

How to make floating DIV list appear in columns, not rows

Community
  • 1
  • 1
maximus ツ
  • 7,949
  • 3
  • 25
  • 54