From aj-geddes-useful-ai-prompts-4
Creates adaptive interfaces using CSS Grid, Flexbox, media queries, and mobile-first design. Build responsive layouts for multi-device applications.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aj-geddes-useful-ai-prompts-4:responsive-web-designThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- [Overview](#overview)
Build mobile-first responsive interfaces using modern CSS techniques including Flexbox, Grid, and media queries to create adaptable user experiences.
Minimal working example:
/* Mobile styles (default) */
.container {
display: flex;
flex-direction: column;
padding: 16px;
gap: 16px;
}
.card {
padding: 16px;
border-radius: 8px;
background: white;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.grid {
display: grid;
grid-template-columns: 1fr;
gap: 16px;
}
/* Tablet (640px and up) */
@media (min-width: 640px) {
.container {
flex-direction: row;
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Mobile-First Media Query Strategy | Mobile-First Media Query Strategy |
| Flexbox Responsive Navigation | Flexbox Responsive Navigation |
| CSS Grid Responsive Layout | CSS Grid Responsive Layout |
| Responsive Typography | Responsive Typography |
| Responsive Cards Component | Responsive Cards Component |
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin aj-geddes-useful-ai-prompts-4Builds responsive web layouts using Flexbox, CSS Grid, media queries, and mobile-first approach for multi-device compatibility and flexible UIs.
Implements responsive web layouts using mobile-first strategies, min-width breakpoints, fluid CSS Grid, container queries, srcset/picture images, 44x44px touch targets, and mobile-adapted tables.
Implements modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first breakpoints. Use for adaptive interfaces and component-level behavior.