responsive-design
Mobile-first responsive layouts, dynamic viewport units, fluid typography, and touch target accessibility.
SKILL.mdskills/responsive-design/SKILL.md
GitHubResponsive Design & Multi-Device Protocol
Deliver adaptive interfaces across mobile, tablet, desktop, and foldable screens.
1. Mobile-First Media Queries
- Author base styles for mobile viewports (< 640px).
- Layer layout expansions progressively using
min-widthbreakpoints (sm: 640px,md: 768px,lg: 1024px,xl: 1280px).
2. Touch Targets & Safe Areas
- Minimum touch target size: 44x44 CSS pixels for all interactive controls.
- Respect mobile device notches with
env(safe-area-inset-*)padding.