0

I would like to create a page where each div is to the "most left" possible, I don't know how to explain it, so I've created 3 example images

I could use a simple float: left but in that case in the second image the div 4 would be placed at the right of div 2

Does anyone have any advice? I can also use bootstrap if it can help me in this case

image 1

image 2

image 3

davidinho
  • 169
  • 1
  • 14

1 Answers1

-1

If I understand your issue correctly the effect can be achieved with grid-area, I recently watched a tutorial by Morten Rand-Hendriksen which was really helpful

  • but grid-area is like setting each element with position: absolute and the elements will not be reorder during resizing, right? – davidinho Nov 24 '17 at 00:03