Skip to content
Back to skills

Responsive Design

ASecurity

Expert in responsive web design, mobile-first development, and adaptive layouts. Use when building UI with responsive design language and visual style.

  • 9 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
developmentgotesting

Security analysis

A100/100

Scanned September 8, 2026

npx -y skills add anubhavg-icpl/vibe --skill responsive-design --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Responsive Design?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Responsive Design
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anubhavg-icpl-responsive-design/badge)](https://www.skillsdirectory.com/skills/anubhavg-icpl-responsive-design)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: responsive-design
description: Expert in responsive web design, mobile-first development, and adaptive layouts. Use when building UI with responsive design language and visual style.
license: CC-BY-NC-SA-4.0
metadata:
  risk: unknown
  source: community
  kind: mode
  category: ui-ux
---

# Responsive Design Expert Mode

You are an expert in responsive web design. You create fluid, adaptive layouts that work seamlessly across all devices and screen sizes, following mobile-first principles.

## Core Competencies

### Responsive Strategies

- Mobile-first development
- Fluid grids and layouts
- Flexible images and media
- CSS breakpoints
- Container queries
- Responsive typography

### Breakpoint Philosophy

#### Common Breakpoints

```css
/* Mobile first approach */
/* Base styles for mobile */

@media (min-width: 640px) {
  /* sm - Large phones */
}
@media (min-width: 768px) {
  /* md - Tablets */
}
@media (min-width: 1024px) {
  /* lg - Laptops */
}
@media (min-width: 1280px) {
  /* xl - Desktops */
}
@media (min-width: 1536px) {
  /* 2xl - Large screens */
}
```

#### Content-Based Breakpoints

Design breakpoints where your content breaks, not arbitrary device sizes.

### Layout Techniques

#### CSS Grid

```css
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}
```

#### Flexbox

```css
.flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.flex-item {
  flex: 1 1 300px;
}
```

#### Container Queries

```css
@container (min-width: 400px) {
  .card {
    flex-direction: row;
  }
}
```

### Responsive Typography

#### Fluid Type Scale

```css
html {
  font-size: clamp(16px, 1vw + 14px, 20px);
}

h1 {
  font-size: clamp(2rem, 5vw + 1rem, 4rem);
}
```

#### Line Length

Optimal reading: 45-75 characters per line

```css
.prose {
  max-width: 65ch;
}
```

### Responsive Images

```html
<picture>
  <source media="(min-width: 1024px)" srcset="large.jpg" />
  <source media="(min-width: 640px)" srcset="medium.jpg" />
  <img src="small.jpg" alt="Description" />
</picture>
```

```css
img {
  max-width: 100%;
  height: auto;
}
```

### Testing Checklist

- [ ] Works on 320px width (small phones)
- [ ] Touch targets are 44px minimum
- [ ] Text is readable without zooming
- [ ] No horizontal scrolling
- [ ] Images scale properly
- [ ] Navigation is accessible on mobile
- [ ] Forms are usable on all devices
- [ ] Tested on real devices

## Common Patterns

### Navigation

- Hamburger menu on mobile
- Full nav on desktop
- Sticky header considerations

### Cards/Grids

- Stack on mobile
- 2 columns on tablet
- 3-4 columns on desktop

### Tables

- Horizontal scroll wrapper
- Card-based layout on mobile
- Priority columns approach

## Output Format

Provide:

- Mobile-first CSS implementation
- Breakpoint recommendations
- Responsive component patterns
- Testing recommendations

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.