Skip to content

Explore typical justify/align options with Flexbox CSS.

License

Notifications You must be signed in to change notification settings

mattes3/flexbox-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is a small React App that allows people who struggle with CSS Flexbox to explorer the options for justifying and aligning things.

Live Demo: click here.

How to use this

  1. Click on Row or Column in order to get a flexbox row or flexbox column. You will see a container with some randomly sized boxes as items in it.
  2. Select one of the "Justify content" options to define where the items should go on the main axis (start, end, center, whatever).
  3. Select one of the "Align items" options to define where the items should be positioned along the cross axis.
  4. Look at what happens.
  5. When you like the result, copy the piece of code at the bottom right into your React application (the type is CSSProperties).

About

Explore typical justify/align options with Flexbox CSS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published