Overflow
Desbordamiento
El desbordamiento ocurre cuando el contenido es más grande que su caja. CSS puede mostrarlo, recortarlo o permitir que la gente lo desplace.
Otro ejemplo
Un ejemplo de código se desliza hacia un lado, mientras que el artículo mantiene su flujo vertical normal.
Partes principales
- 01Outer constraint
- 02Content and spacing model
- 03Computed size or reflow result
Úsalo cuando
Establezca el desbordamiento a propósito siempre que el contenido pueda crecer más allá de un área limitada.
No lo uses cuando
Nunca uses overflow hidden si corta los anillos de enfoque, menús o acciones.
Nombre usado en código
overflow Antes de lanzarlo
Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience.
Outcome: Complete the task with Desbordamiento (Overflow). User context: Un ejemplo de código se desliza hacia un lado, mientras que el artículo mantiene su flujo vertical normal. Design concept to apply: Desbordamiento (Overflow). Why it fits: Establezca el desbordamiento a propósito siempre que el contenido pueda crecer más allá de un área limitada. Do not use it when: Nunca uses overflow hidden si corta los anillos de enfoque, menús o acciones. Design requirements: Set the content order, shared design values, and reusable components. Define how the layout changes by screen size and state. Keep useful design choices separate from decoration. Inclusion and resilience: Check contrast, zoom, languages, themes, and reduced motion when needed. Do not use color or effects as the only way to show meaning. Acceptance criteria: The design stays clear on phones and desktops, at zoom, in every theme, and in all supported languages. Interactive states stay clear and consistent. Evidence and limits (evidence boundary): Un documento formal aún puede ser un borrador, un release candidate o una versión final. Revisa su estado y la compatibilidad con tu navegador o plataforma. Unknowns to confirm: Brand limits, amount of content, supported themes and languages, target devices, and design-system rules.
Revisa esta petición
Review how Desbordamiento (Overflow) is used now. Definition: El desbordamiento ocurre cuando el contenido es más grande que su caja. CSS puede mostrarlo, recortarlo o permitir que la gente lo desplace. Release checks: Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.