I would like to showcase images in the imageList.
Here is what I want:
- AB
- CD
How can this be achieved? It's not a matter of being even or odd
Perhaps the list could look something like this: ABCDE FG
I simply want a new row or display:block when the count reaches 2. The list could be (1,1,1,1,2,1) - First row with 4 elements and Second row with 2 elements. The list could also be (1,1,1,2,1,2,1) - First row with 3 elements, Second row with 2 elements, and Third row with 2 elements.
The link to view is here: *****jsfiddle.net/jpkwhfv3/*****