Description
CSS Flexbox Playground is an interactive tool for learning CSS flexbox layout. It shows five sample boxes in a container, and you change the flex properties with controls and see the result update in real time. You can set flex-direction to row, column, row-reverse or column-reverse, justify-content to flex-start, center, flex-end, space-between or space-around, align-items to stretch, flex-start, center, flex-end or baseline, and flex-wrap to nowrap, wrap or wrap-reverse. A copy button gives you the CSS code that matches the settings, so you can paste it into your own project. The tool is meant for developers at any level who want to understand how flex properties affect a layout by trying them, rather than reading about them. The page is made by Yoav Sabag, and it links to his YouTube channel, his newsletter and his GitHub repository. It also promotes a separate stopwatch app that he makes. The playground runs in the browser, with no sign-up required.…
Highlights
- Live flexbox controls
- Five sample boxes
- Copy the generated CSS
- Covers wrap and alignment
- Runs in the browser
Ratings & Reviews
No ratings yet
Be the first to rate CSS Flexbox Playground.
People also visit
CSS Flexbox Playground FAQ
What is the CSS Flexbox Playground?
An interactive tool for learning flexbox by changing its properties and seeing the layout update.
Which properties can I try?
flex-direction, justify-content, align-items and flex-wrap, with all of their common values.
Can I use the code?
Yes. A copy button gives you the CSS for the current settings.
Who made it?
Yoav Sabag, who links to his YouTube channel, newsletter and GitHub from the page.
What are the best CSS Flexbox Playground alternatives?
Popular alternatives to CSS Flexbox Playground include Knights of the Flexbox Table, Layoutit and Css-buttons-generator. See all CSS Flexbox Playground alternatives







.gif?auto=compress&fit=max&w=128)
