Bootstrap 5 layout for different sizes cards – like Pinterest

As explained in the Bootstrap 5 docs, the Masonry JS plugin is the recommended option for this type of “Pinterest” layout. The multi-column card layout (card-columns) that was used in Bootstrap 4 is no longer available in Bootstrap 5. Using the Masonry plugin is easy. Just use the appropriate col-* class to set the number of columns across, and then the data-masonry attribute on the containing …

Read More