I'm trying to achieve this:
Using Bootstrap 4, Js,Css and obviously HTML. I did not succeed to find something similar on SO,
but I found this on the Bootstrap 4 documentation, but I'm not sure if this is the right thing: Bootstrap 4 Cards
Can someone enlight me on the best way to create this layout?
Thanks
EDIT:This is not the same as other questions you can see, even if this question has been marked as duplicated. On my example, the 'cards' are not sitting in proper columns, but each one has his own width. Please mark the difference between my question and others
EDIT2: I made it work. https://youtu.be/CvmeGvKbPlM
As @Yan said you can use
.card-columns
to archive a Masonry layout, you can find more information in the Boostrap 4 docs.There's how the code should look:
Bootstrap Cards can be organized into Masonry-like columns with just CSS by wrapping them in .card-columns.
Check this working masonry code with cards!