Padding
Riempimento
Il padding è lo spazio all'interno del bordo di un elemento, tra il suo contenuto e il suo bordo.
Un altro esempio
Un pulsante aggiunge spazio intorno al testo, così l'area su cui si può cliccare è più grande.
Parti principali
- 01Outer constraint
- 02Content and spacing model
- 03Computed size or reflow result
Usalo quando
Usa il padding per creare spazio dentro una superficie e mantenere il suo target facile da usare.
Non usarlo quando
Non aggiungere mai padding casuale per nascondere un modello con larghezza errata.
Nome usato nel codice
padding 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 Riempimento (Padding). User context: Un pulsante aggiunge spazio intorno al testo, così l'area su cui si può cliccare è più grande. Design concept to apply: Riempimento (Padding). Why it fits: Usa il padding per creare spazio dentro una superficie e mantenere il suo target facile da usare. Do not use it when: Non aggiungere mai padding casuale per nascondere un modello con larghezza errata. 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 Riempimento (Padding) is used now. Definition: Il padding è lo spazio all'interno del bordo di un elemento, tra il suo contenuto e il suo bordo. 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.