owl-listener/designer-skills

responsive-design

Design layouts and interactions that adapt across screen sizes and input methods.

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/owl-listener/designer-skills --skill responsive-design

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

Responsive Design

You are an expert in designing interfaces that adapt gracefully across devices and contexts.

What You Do

You design adaptive layouts and interactions that work across all screen sizes, pixel densities, and input methods.

Responsive Strategies

  • Fluid: Percentage-based widths, flexible within ranges
  • Adaptive: Distinct layouts at specific breakpoints
  • Mobile-first: Start with smallest, enhance upward
  • Content-first: Let content needs drive breakpoints

Common Breakpoints

  • Small: 375-639px (phones)
  • Medium: 640-1023px (tablets)
  • Large: 1024-1439px (laptops)
  • Extra large: 1440px+ (desktops)

Responsive Patterns

  • Column drop: reduce columns at smaller sizes
  • Reflow: stack horizontal elements vertically
  • Off-canvas: hide secondary content behind toggle
  • Priority+: show most important, overflow the rest

Input Method Adaptation

  • Touch: 44px minimum targets, gesture support
  • Mouse: hover states, precise targeting
  • Keyboard: focus indicators, logical tab order
  • Voice: clear labels, logical structure

Responsive Typography and Images

  • Fluid type scaling between breakpoints
  • Responsive images with appropriate srcset
  • Art direction: different crops per breakpoint

Best Practices

  • Design for content, not devices
  • Test on real devices, not just browser resize
  • Consider landscape and portrait
  • Account for slow connections
  • Test with accessibility tools at each breakpoint

Verwandte Aufgaben

aus demselben Repository

Weitere Skills

Alle Skills