Skip to tool content
Toolioz logoToolioz
design
Local inputs

Flexbox Playground

Interactive Flexbox layout: direction, wrap, alignment, gap, and per-item grow, shrink, and basis.

.container {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  align-content: normal;
  flex-wrap: nowrap;
  gap: 16px;
}

.item-1 {
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  width: 100px;
  height: 100px;
}
.item-2 {
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  width: 100px;
  height: 100px;
}
.item-3 {
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  width: 100px;
  height: 100px;
}

Container Properties

16px