jh3y / driveway

pure CSS masonry layouts
https://jh3y.github.io/driveway
Other
632 stars 85 forks source link

Order columns items #9

Closed chemitaxis closed 7 years ago

chemitaxis commented 7 years ago

issue summary

Order different like masonry. The items is attached to the DOM in Column1 and down, Column2 and down

expected behavior

First item must be the first in the first column (ok) , second item -> first item in the second colum (bad)

browser used

Chrome, Safari, Firefox

Thanks!!

jh3y commented 7 years ago

Hey @chemitaxis

If I'm right in thinking you're referring to being able to order content from left to right whilst keeping it masonry. Unfortunately, as far as I'm currently aware, this is not possible with purely CSS.

To achieve the desired effect would require intervention from either JavaScript or possibly a server-side rendering solution. I've touched on this here. However, if you do have a solution to this, please feel free to open a PR! I'd love to see a solution :smile:

Thanks!

@jh3y

chemitaxis commented 7 years ago

Oh! Thanks! SO fast!! 👍 I will check the link!!