Padding
Relleno
El relleno es el espacio dentro del borde de un elemento, entre su contenido y su borde.
Otro ejemplo
Un botón añade padding alrededor de su texto, así el área donde se puede hacer clic es más grande.
Partes principales
- 01Outer constraint
- 02Content and spacing model
- 03Computed size or reflow result
Úsalo cuando
Usa relleno para hacer espacio dentro de una superficie y mantener su objetivo fácil de usar.
No lo uses cuando
Nunca agregues relleno aleatorio para ocultar un modelo de ancho incorrecto.
Nombre usado en código
padding 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 Relleno (Padding). User context: Un botón añade padding alrededor de su texto, así el área donde se puede hacer clic es más grande. Design concept to apply: Relleno (Padding). Why it fits: Usa relleno para hacer espacio dentro de una superficie y mantener su objetivo fácil de usar. Do not use it when: Nunca agregues relleno aleatorio para ocultar un modelo de ancho incorrecto. 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 Relleno (Padding) is used now. Definition: El relleno es el espacio dentro del borde de un elemento, entre su contenido y su borde. 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.