Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

responsive-design

/responsive-design

Buduje układy dopasowujące się przez płynne rozmiary, container queries i punkty przełamania zależne od treści, zastępując kruchy stos media queries.

Repozytorium
AI-SKILLS ↗
Licencja
MIT
Ostatnia zmiana repozytorium
05.09.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 05.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Buduje układy dopasowujące się przez płynne rozmiary, container queries i punkty przełamania zależne od treści, zastępując kruchy stos media queries.

Oryginalny opis (EN)

Build layouts that adapt through fluid sizing, container queries, and content-driven breakpoints. Use when making a design work across screen sizes or replacing a brittle pile of media queries.

Jak działa

  1. Method
  2. Boundaries
Sekcje z nagłówków SKILL.md, w oryginale · 45 linii, 299 słów
Podgląd SKILL.md
---
name: responsive-design
description: Build layouts that adapt through fluid sizing, container queries, and content-driven breakpoints. Use when making a design work across screen sizes or replacing a brittle pile of media queries.
---

# Responsive design

Modern responsiveness is mostly not media queries: it is fluid values and
intrinsically flexible layouts, with queries reserved for genuine
rearrangement.

## Method

1. **Start mobile, one column, content in priority order.** The narrow
   view forces the hierarchy conversation; widening is additive.
   Desktop-first CSS accumulates unsetting rules (`float: none`,
   `width: auto`) that exist only to undo itself.
2. **Make size fluid before making it conditional.**
   `font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem)` and spacing built
   from the same pattern remove entire classes of breakpoints. Grid
   `auto-fit`/`minmax` handles card layouts with zero queries (see
   css-layout).
3. **Break where the content breaks, not at device names.** Widen the
   window until the design looks wrong; that width is the breakpoint.
   Device-name breakpoints (768px "tablet") encode 2015's hardware into
   your stylesheet.
4. **Query the container for components.** A card in a sidebar and the
   same card full-width need different layouts at the same viewport size.
   `container-type: inline-size` on the wrapper, then
   `@container (min-width: 24rem)` in the component. Media queries remain
   for page-level rearrangement and user preferences.
5. **Handle the non-width axes.** `@media (prefers-reduced-motion)`,
   `(prefers-color-scheme)`, `(hover: none)` for touch, and dynamic
   viewport units (`dvh`) so mobile browser chrome does not eat your
   full-height layouts. Test landscape phones; 400px tall is real.
6. **Let images do their part.** `srcset`/`sizes` for resolution,
   `aspect-ratio` to reserve space against layout shift,
   `object-fit: cover` for art-directed crops.

## Boundaries

- Hiding content at small sizes is a product decision, not a CSS
  convenience; if it is not worth showing on mobile, question whether it
  is worth showing at all.
- Fluid type needs floor and ceiling; unclamped viewport math fails
  accessibility zoom and ultrawide monitors.
- JS-measured breakpoints drift from CSS ones; if scripts must know the
  layout, read a custom property set by the same query.

Wersje

RepozytoriumWynikLicencja
Ta strona · Amey-Thakur/AI-SKILLS90MIT
akillness/jeo-skills100MIT
oborchers/fractional-cto100MIT
wshobson/agents100MIT
uw-ssec/rse-plugins100BSD-3-Clause
LeoYeAI/openclaw-master-skills95MIT
autohandai/community-skills95Apache-2.0
mhrsdev/AI-Agent-Skills-Library95MIT
Owl-Listener/designer-skills90MIT

Migawka bazy z 13.11.2026 · wersja paczki f1eb17331b22 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100fai-design-responsive
    Projektuje responsywne układy narzędzi AI i dashboardów: breakpointy, siatki płynne, container queries i podejście mobile-first, gdy interfejs psuje się na telefonie.
  • 95tailwind-responsive-design
    Pomaga budować responsywne układy w podejściu mobile-first z Tailwind CSS: breakpointy, container queries i narzędzia responsywne.
  • 90fec-responsive-layout
    Prowadzi projektowanie i przegląd responsywnych układów frontendu: mobile-first, breakpointy, container queries, płynne siatki, gęste tabele, obszary dotyku, safe areas i zmiany orientacji.
  • 100responsive-layout-builder
    Buduje responsywne układy w CSS Grid, Flexboxie i container queries, naprawia problemy z layoutem i wspiera podejście mobile-first.
  • 100responsive-engine
    Projektuje układy na wiele urządzeń z container queries, płynną typografią clamp(), selektorem :has(), subgrid i nowoczesnymi jednostkami CSS (dvh, svh, lvh).
  • 90frontend-responsive-design
    Buduje responsywne interfejsy mobile-first: zapytania o kontenery, spójne punkty przerwania, płynną typografię z clamp i media queries.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.