Padding
Preenchimento
Preenchimento é o espaço dentro da borda de um elemento, entre seu conteúdo e sua borda.
Outro exemplo
Um botão adiciona espaçamento ao redor do texto, então a área que as pessoas podem clicar fica maior.
Partes principais
- 01Outer constraint
- 02Content and spacing model
- 03Computed size or reflow result
Use-o quando
Use espaçamento interno (padding) para criar espaço dentro de uma superfície e manter seu alvo fácil de usar.
Não o use quando
Nunca adicione preenchimento aleatório para esconder um modelo de largura errado.
Nome usado no código
padding Antes de lançar
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 Preenchimento (Padding). User context: Um botão adiciona espaçamento ao redor do texto, então a área que as pessoas podem clicar fica maior. Design concept to apply: Preenchimento (Padding). Why it fits: Use espaçamento interno (padding) para criar espaço dentro de uma superfície e manter seu alvo fácil de usar. Do not use it when: Nunca adicione preenchimento aleatório para esconder um modelo de largura errado. 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): Um documento formal ainda pode ser rascunho, release candidate ou versão final. Cheque o status e o suporte no navegador ou plataforma. Unknowns to confirm: Brand limits, amount of content, supported themes and languages, target devices, and design-system rules.
Conferir este pedido
Review how Preenchimento (Padding) is used now. Definition: Preenchimento é o espaço dentro da borda de um elemento, entre seu conteúdo e sua borda. 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.