Skip to content

A pure CSS flexbox, responsive, always left-aligned, auto-wrapping grid of 1-dimensional items

License

Notifications You must be signed in to change notification settings

Sv443/flex-wrap-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A pure CSS flexbox, responsive, always left-aligned, auto-wrapping grid of 1-dimensional items

Click here to open the demo page
The code is licensed under the WTFPL license, so you can do whatever you want with it.

Features:

  • Columns are always aligned
  • Rows are always left-aligned
  • Items wrap automatically on smaller screens
  • Items are always the same width and height, unless the container can span its full width

Configuration:

  • Open the index.html in your browser and use the input fields to configure item size and amount
  • Edit the values in the top .container block inside index.css to change container size, amount of items per row and more

About

A pure CSS flexbox, responsive, always left-aligned, auto-wrapping grid of 1-dimensional items

Topics

Resources

License

Stars

Watchers

Forks