# Zona de pruebas CSS de flexbox

> Explora alineación, ajuste y espaciado de forma visual.

[Open tool](https://www.toolcabana.com/es/css-flexbox-playground) · [Diseño y CSS](https://www.toolcabana.com/es/category/design-and-css)

Tool ID: css-flexbox-playground. Requested language: es. Description language: es. 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 (es)

Explora alineación, ajuste y espaciado de forma visual.

## Steps (es)

1. Introduce los valores solicitados en el panel de ajustes.
2. Ajusta la configuración básica y abre el modo avanzado para opciones de exportación y ajuste fino. La configuración personalizada sigue activa al cerrar el panel.
3. Ejecuta la zona de pruebas CSS de flexbox, revisa la salida y usa los controles disponibles para copiar o descargar.

## Settings

- Dirección (es; key: direction; type: select): row [es], column [es], row-reverse [es], column-reverse [es]
- Justificar contenido (es; key: justify; type: select): flex-start [es], center [es], flex-end [es], space-between [es], space-around [es], space-evenly [es]
- Alinear elementos (es; key: align; type: select): stretch [es], flex-start [es], center [es], flex-end [es]
- Ajuste (es; key: wrap; type: select): wrap [es], nowrap [es]
- Espacio (px) (es; key: gap; type: number); minimum: 0; maximum: 100
- Elementos (es; key: items; type: number); minimum: 1; maximum: 30

## Limitations (es)

Las imágenes usan el límite de lienzo existente de 32 megapíxeles. Se permiten hasta 100 imágenes de origen donde sea admitido. El HTML pegado está limitado a 200,000 caracteres; los diagramas Mermaid a 20,000 caracteres y 300 líneas. La generación de SVG y PNG requiere un navegador.

## Privacy and connections (es)

Esta operación procesa su fuente en tu navegador. Copiar y descargar son acciones explícitas; la entrada de origen no se guarda en una cuenta ni en un historial.

## Questions (es)

### 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.

### ¿Dónde se procesa mi entrada?

Esta operación procesa su fuente en tu navegador. Copiar y descargar son acciones explícitas; la entrada de origen no se guarda en una cuenta ni en un historial.

### ¿Cuáles son los límites de entrada?

Las imágenes usan el límite de lienzo existente de 32 megapíxeles. Se permiten hasta 100 imágenes de origen donde sea admitido. El HTML pegado está limitado a 200,000 caracteres; los diagramas Mermaid a 20,000 caracteres y 300 líneas. La generación de SVG y PNG requiere un navegador.

## Related tools

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