Every container and item property, live — drag nothing, just turn the knobs and watch real flexbox do the work. See exactly how order changes what you see without touching what’s actually in the HTML.
Browse the CSS lessonsThere isn’t a dedicated flexbox lesson yet — this playground teaches the concept itself through the explanation panel below.
Numbers are fixed HTML/DOM order — they never move. Only the visual position changes.
.container {
display: flex;
justify-content: space-between;
gap: 12px;
}
.item:nth-child(1) {
flex-grow: 1;
}
.item:nth-child(2) {
flex-grow: 1;
}
.item:nth-child(3) {
flex-grow: 1;
}Numbers are fixed HTML/DOM order — they never move. Only the visual position changes.