.container {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: stretch;
flex-wrap: nowrap;
gap: 12px;
}
.item-a {
order: 0;
flex: 0 1 auto;
align-self: auto;
width: 80px;
height: 60px;
}
.item-b {
order: 1;
flex: 0 1 auto;
align-self: auto;
width: 100px;
height: 80px;
}
.item-c {
order: 2;
flex: 0 1 auto;
align-self: auto;
width: 60px;
height: 100px;
}The CSS Flex Playground is a live, visual sandbox for flexbox. Change container properties like flex-direction, justify-content, align-items, flex-wrap, and gap, then tune each item's order, grow, shrink, basis, and align-self. The preview updates instantly and the generated container and item CSS can be copied.
Set direction to row, justify-content to space-between, align-items to stretch, and remove the fixed item heights (set them to 0). The three items spread evenly and each stretches to the container height, producing the classic card row.