Skip to content

malashevskyi/masonry-with-a-few-lines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Description

I often see when someone uses some libraries or CSS Grid to create masonry

I just put it here, maybe someone will find it useful. You can create masonry just with two CSS properties: column-count and column-gap

⚠️   I set column-count with js to not create a lot of @media breakpoints

Credits

About

Create masonry with CSS: column-count + column-gap

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages