
Responsive Web Design
A solid reference for modern CSS layout patterns that'll save you from reinventing responsive breakpoints every time. Covers the essentials: mobile-first media queries at 640px and 1024px, CSS Grid for multi-column layouts, Flexbox for navigation, and fluid typography using clamp(). The examples are clean and copy-paste ready, which is honestly what you want when you're spinning up a new layout. Best practices section nails the basics like 48px touch targets and readable line lengths. Nothing groundbreaking here, but it's well-organized and hits the patterns you actually use in production. Good for quick consultation or sharing with junior developers who need to understand the mobile-first approach.
- skills.sh installs
- 703
- GitHub stars
- 248
- last updated
- Aug 21, 2026
Install
$ npx -y skills add secondsky/claude-skills --skill responsive-web-design --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/secondsky/claude-skills
- Categories
- Frontend Development, Automation & Workflows, Mobile Development, Design & UI/UX
- First seen
- Jun 3, 2026
More from secondsky/claude-skills
All 146- Zod663
- Nano Banana Prompts626
- Image Optimization604
- Rest Api Design600
- Mobile First Design598
- Web Performance Optimization576
- Inspira Ui572
- Api Authentication549
- Code Review548
- Web Performance Audit542
- Vulnerability Scanning534
- Kpi Dashboard Design526
- Progressive Web App523
- Tanstack Table513
- Architecture Patterns508
- Api Rate Limiting507
- Api Security Hardening506
- Better Auth502
- Design System Creation500
- React Composition Patterns494
- Api Contract Testing491
- React Native Skills490
- Technical Specification489
- Mobile App Testing480