
Responsive Web Design
- 534 installs
- 202 repo stars
- Updated August 4, 2026
- secondsky/claude-skills
responsive-web-design is an agent skill that builds mobile-first adaptive web layouts with Flexbox, CSS Grid, and media queries for developers who need cross-screen UI without manual breakpoint debugging.
About
responsive-web-design is a secondsky claude-skills agent skill for building adaptive web interfaces with a mobile-first approach using Flexbox, CSS Grid, and media queries. It documents breakpoint patterns starting at 320px mobile base, 640px tablet, and 1024px desktop with container padding and max-width adjustments. Developers reach for responsive-web-design when creating multi-device layouts, implementing flexible UI systems, or ensuring cross-browser compatibility without ad-hoc CSS fixes. The skill ships under MIT license and emphasizes progressive enhancement from small screens upward rather than desktop-first overrides.
- Generates Tailwind and vanilla CSS that automatically adapts to desktop, tablet, and mobile breakpoints
- Produces semantic HTML structures optimized for both readability and performance
- Creates flexible grid and flexbox systems that maintain visual hierarchy on any device
- Outputs production-ready code following modern responsive design best practices
Responsive Web Design by the numbers
- 534 all-time installs (skills.sh)
- +20 installs in the week ending Aug 5, 2026 (Skillselion tracking)
- Ranked #608 of 2,245 Frontend Development skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/secondsky/claude-skills --skill responsive-web-designAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 534 |
|---|---|
| repo stars | ★ 202 |
| Last updated | August 4, 2026 |
| Repository | secondsky/claude-skills ↗ |
How do you build mobile-first responsive CSS layouts?
Generate clean, mobile-first responsive layouts and components that work across all screen sizes without manual CSS debugging.
Who is it for?
Frontend developers implementing multi-device layouts who want structured mobile-first CSS patterns.
Skip if: Native mobile app layout work or projects using only fixed-width desktop designs.
When should I use this skill?
Creating multi-device layouts, flexible UI systems, or fixing cross-browser responsive CSS breakpoint issues.
What you get
Mobile-first CSS layout with Flexbox or Grid, breakpoint media queries, and cross-browser adaptive components.
- Mobile-first responsive CSS
- Breakpoint-based layout components
By the numbers
- Documents breakpoints at 320px mobile, 640px tablet, and 1024px desktop
Files
Responsive Web Design
Build adaptive interfaces using modern CSS techniques for all screen sizes.
Mobile-First Media Queries
/* Base: Mobile (320px+) */
.container {
padding: 1rem;
}
/* Tablet (640px+) */
@media (min-width: 640px) {
.container {
padding: 2rem;
max-width: 640px;
margin: 0 auto;
}
}
/* Desktop (1024px+) */
@media (min-width: 1024px) {
.container {
max-width: 1024px;
}
}Flexible Grid
.grid {
display: grid;
gap: 1rem;
grid-template-columns: 1fr; /* Mobile: single column */
}
@media (min-width: 640px) {
.grid {
grid-template-columns: repeat(2, 1fr); /* Tablet: 2 columns */
}
}
@media (min-width: 1024px) {
.grid {
grid-template-columns: repeat(3, 1fr); /* Desktop: 3 columns */
}
}Fluid Typography
/* Scales smoothly between breakpoints */
h1 {
font-size: clamp(1.5rem, 4vw, 3rem);
}
p {
font-size: clamp(1rem, 2vw, 1.25rem);
}Responsive Images
img {
max-width: 100%;
height: auto;
}
.hero-image {
width: 100%;
aspect-ratio: 16 / 9;
object-fit: cover;
}Flexbox Navigation
.nav {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
@media (min-width: 768px) {
.nav {
flex-direction: row;
justify-content: space-between;
align-items: center;
}
}Best Practices
- Start with mobile styles first
- Use flexible units (%, rem, vw)
- Test on real devices
- Ensure minimum 48px touch targets
- Maintain readable line lengths (45-75 chars)
- Use CSS Grid for 2D layouts, Flexbox for 1D
Resources
Related skills
FAQ
What CSS techniques does responsive-web-design use?
responsive-web-design uses mobile-first Flexbox, CSS Grid, and min-width media queries with documented breakpoints at 640px tablet and 1024px desktop starting from a 320px mobile base.
When should developers use responsive-web-design?
Use responsive-web-design when building multi-device web layouts, flexible UI systems, or cross-browser adaptive interfaces instead of desktop-first CSS with manual breakpoint debugging.