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.
- Autor
- Amey-Thakur ↗
- Repozytorium
- AI-SKILLS ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 05.09.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 05.09.2026, bez odwołań do wycofanych modeli i API.
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
- Method
- Boundaries
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
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · Amey-Thakur/AI-SKILLS | 90 | MIT |
| akillness/jeo-skills | 100 | MIT |
| oborchers/fractional-cto | 100 | MIT |
| wshobson/agents | 100 | MIT |
| uw-ssec/rse-plugins | 100 | BSD-3-Clause |
| LeoYeAI/openclaw-master-skills | 95 | MIT |
| autohandai/community-skills | 95 | Apache-2.0 |
| mhrsdev/AI-Agent-Skills-Library | 95 | MIT |
| Owl-Listener/designer-skills | 90 | MIT |
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.