New advertisers: 50% off your first month with code FIRSTMONTHSee slots
aj-geddes avatar

Responsive Web Design

Responsive layout skill covering mobile-first CSS with Flexbox, Grid, and media queries for multi-device interfaces.

skills.sh installs
1.1K
GitHub stars
387
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers mobile-first layouts built with Flexbox, CSS Grid, and media queries across breakpoints
  • Includes 5 reference guides: media query strategy, Flexbox navigation, Grid layout, typography, and cards
  • Provides a Quick Start CSS example that stacks cards on mobile and expands to rows at 640px
  • Designed for adaptive interfaces and cross-browser layouts that must work across all device sizes

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill responsive-web-design -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Responsive Web Design

Table of Contents

Overview

Build mobile-first responsive interfaces using modern CSS techniques including Flexbox, Grid, and media queries to create adaptable user experiences.

When to Use

  • Multi-device applications
  • Mobile-first development
  • Accessible layouts
  • Flexible UI systems
  • Cross-browser compatibility

Quick Start

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)

Reference Guides

Detailed implementations in the references/ directory:

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Category
Frontend & UI Code
First seen
May 16, 2026

More from aj-geddes/useful-ai-prompts

All 258

Similar to Responsive Web Design

More Frontend & UI Code