# Área de testes CSS de flexbox

> Explore alinhamento, quebra e espaçamento visualmente.

[Open tool](https://www.toolcabana.com/pt-br/css-flexbox-playground) · [Design e CSS](https://www.toolcabana.com/pt-br/category/design-and-css)

Tool ID: css-flexbox-playground. Requested language: pt-BR. Description language: pt-BR. Complete guide translation: yes.

## Overview (en)

CSS flexbox playground previews a flex container with 1 to 30 numbered items and writes the matching CSS. Set flex-direction (row, column or their reverses), justify-content including space-between and space-evenly, align-items, wrap or nowrap, and a gap from 0 to 100 px, then copy the six declarations once the preview looks right.

## Supported tasks (pt-BR)

Explore alinhamento, quebra e espaçamento visualmente.

## Steps (pt-BR)

1. Digite os valores solicitados no painel de configurações.
2. Ajuste a configuração básica e abra o modo avançado para opções de exportação e ajuste fino. A configuração personalizada continua ativa ao fechar o painel.
3. Execute a área de testes CSS de flexbox, revise a saída e use os controles disponíveis para copiar ou baixar.

## Settings

- Direção (pt-BR; key: direction; type: select): row [pt-BR], column [pt-BR], row-reverse [pt-BR], column-reverse [pt-BR]
- Justificar conteúdo (pt-BR; key: justify; type: select): flex-start [pt-BR], center [pt-BR], flex-end [pt-BR], space-between [pt-BR], space-around [pt-BR], space-evenly [pt-BR]
- Alinhar itens (pt-BR; key: align; type: select): stretch [pt-BR], flex-start [pt-BR], center [pt-BR], flex-end [pt-BR]
- Quebra (pt-BR; key: wrap; type: select): wrap [pt-BR], nowrap [pt-BR]
- Espaço (px) (pt-BR; key: gap; type: number); minimum: 0; maximum: 100
- Itens (pt-BR; key: items; type: number); minimum: 1; maximum: 30

## Limitations (pt-BR)

As imagens usam o limite existente de 32 megapixels. São permitidas até 100 imagens de origem onde houver suporte. O HTML colado é limitado a 200,000 caracteres; diagramas Mermaid a 20,000 caracteres e 300 linhas. A geração de SVG e PNG exige um navegador.

## Privacy and connections (pt-BR)

Esta operação processa sua fonte no seu navegador. Copiar e baixar são ações explícitas; a entrada de origem não é salva em conta nem em histórico.

## Questions (pt-BR)

### What is the difference between space-between, space-around and space-evenly?

space-between puts the first and last items at the edges with equal gaps between items. space-around gives each item equal space on both sides, so edge gaps are half the inner ones. space-evenly makes every gap, including the edges, the same. Try each in the preview.

### Why does align-items seem to do nothing in the flexbox preview?

align-items works on the cross axis. With direction row, it moves items vertically inside the 220 px tall preview, and stretch makes them fill that height. With column, it acts horizontally, so switch direction to see the change.

### Does the flexbox playground set flex properties on the items?

No. The output covers only the container: display, flex-direction, justify-content, align-items, flex-wrap and gap. Item properties like flex-grow or order are not generated, so add them separately if individual items need to size differently.

### Onde minha entrada é processada?

Esta operação processa sua fonte no seu navegador. Copiar e baixar são ações explícitas; a entrada de origem não é salva em conta nem em histórico.

### Quais são os limites de entrada?

As imagens usam o limite existente de 32 megapixels. São permitidas até 100 imagens de origem onde houver suporte. O HTML colado é limitado a 200,000 caracteres; diagramas Mermaid a 20,000 caracteres e 300 linhas. A geração de SVG e PNG exige um navegador.

## Related tools

- [CSS clamp calculator](https://www.toolcabana.com/pt-br/css-clamp-calculator)
- [CSS grid layout generator](https://www.toolcabana.com/pt-br/css-grid-layout-generator)
- [CSS cubic Bezier editor](https://www.toolcabana.com/pt-br/css-cubic-bezier-editor)
- [CSS clip-path maker](https://www.toolcabana.com/pt-br/css-clip-path-maker)
