Home/UI/UX 设计/responsive-web-design
R

responsive-web-design

by @aj-geddesv
4.7(55)

Designs and implements responsive web layouts using technologies like CSS Grid, Flexbox, and media queries, ensuring optimal user experience across various devices and screen sizes.

Responsive DesignCSS Media QueriesMobile-First DesignUI/UXFrontend DevelopmentGitHub
Installation
npx skills add aj-geddes/useful-ai-prompts --skill responsive-web-design
compare_arrows

Before / After Comparison

1
Before

In the past, designing web layouts for different devices and screen sizes often required developing a separate set of pages for each device, or using complex float layouts, leading to long development cycles, difficult maintenance, and poor user experience on small screens.

After

By applying responsive-web-design skills, using modern technologies such as CSS Grid, Flexbox, and media queries, a single web page can be designed to adapt to any device. This greatly simplifies the development process, enhances user experience, and improves website maintainability.

description SKILL.md


name: responsive-web-design description: > Create responsive layouts using CSS Grid, Flexbox, media queries, and mobile-first design. Use when building adaptive interfaces that work across all devices.

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:

GuideContents
Mobile-First Media Query StrategyMobile-First Media Query Strategy
Flexbox Responsive NavigationFlexbox Responsive Navigation
CSS Grid Responsive LayoutCSS Grid Responsive Layout
Responsive TypographyResponsive Typography
Responsive Cards ComponentResponsive Cards Component

Best Practices

✅ DO

  • Follow established patterns and conventions
  • Write clean, maintainable code
  • Add appropriate documentation
  • Test thoroughly before deploying

❌ DON'T

  • Skip testing or validation
  • Ignore error handling
  • Hard-code configuration values

forumUser Reviews (0)

Write a Review

Effect
Usability
Docs
Compatibility

No reviews yet

Statistics

Installs1.5K
Rating4.7 / 5.0
Version
Updated2026年3月16日
Comparisons1

User Rating

4.7(55)
5
0%
4
0%
3
0%
2
0%
1
0%

Rate this Skill

0.0

Compatible Platforms

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

Timeline

Created2026年3月16日
Last Updated2026年3月16日