owl-listener/designer-skills

responsive-design

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

ソースを見る

使い方

  1. インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
  2. 必要なツール、認証情報、対応環境を原文で確認します。
  3. 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/owl-listener/designer-skills --skill responsive-design

開始前の確認

  • 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
  • スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
リポジトリの原文

見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。

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

タスクに関連する項目

同じリポジトリから

関連する Skills

すべての Skills