Overflow
Overflow
L'overflow è ciò che succede quando il contenuto è più grande della sua casella. Il CSS può mostrarlo, ritagliarlo o permettere alle persone di scorrerlo.
Un altro esempio
Un esempio di codice scorre di lato mentre l'articolo mantiene il suo normale scorrimento verso il basso.
Parti principali
- 01Outer constraint
- 02Content and spacing model
- 03Computed size or reflow result
Usalo quando
Imposta l'overflow appositamente ogni volta che il contenuto può crescere oltre un'area limitata.
Non usarlo quando
Non utilizzare mai overflow hidden se taglia anelli di messa a fuoco, menu o azioni.
Nome usato nel codice
overflow Prima di spedire
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 Overflow (Overflow). User context: Un esempio di codice scorre di lato mentre l'articolo mantiene il suo normale scorrimento verso il basso. Design concept to apply: Overflow (Overflow). Why it fits: Imposta l'overflow appositamente ogni volta che il contenuto può crescere oltre un'area limitata. Do not use it when: Non utilizzare mai overflow hidden se taglia anelli di messa a fuoco, menu o azioni. 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 formale può ancora essere una bozza, un release candidate o la versione finale. Controlla il suo stato e il supporto per browser o piattaforma. Unknowns to confirm: Brand limits, amount of content, supported themes and languages, target devices, and design-system rules.
Controlla questa richiesta
Review how Overflow (Overflow) is used now. Definition: L'overflow è ciò che succede quando il contenuto è più grande della sua casella. Il CSS può mostrarlo, ritagliarlo o permettere alle persone di scorrerlo. 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.