responsive-design
Installation
SKILL.md
Responsive Design
Master modern responsive design techniques to create interfaces that adapt seamlessly across all screen sizes and device contexts.
When to Use This Skill
- Implementing mobile-first responsive layouts
- Component-level responsiveness (Container Queries)
- Fluid typography and spacing scales (clamp)
- Building complex layouts with CSS Grid/Flexbox
- Responsive Images and Media handling
- Designing adaptive navigation
Workflow
- Mobile First: Start coding for the smallest screen (< 640px). Add
min-widthqueries to enhance for larger screens. - Fluid: Use relative units (
%,rem,vw) and fluid clamp scales for type/spacing. - Adaptive: Use Container Queries (
@container) for high-reuse components. - Layout: Use Grid for 2D layouts and Flexbox for 1D alignment.