Przejdź do treści
Biblioteka skilli
Programowanie · Przegląd i audyt

animation-performance

/animation-performance

Przegląda style, komponenty i zachowanie responsywne pod kątem używania transform i opacity w animacjach, sprawdzając wyrenderowany układ na różnych breakpointach i stanach interakcji.

Licencja
MIT
Ostatnia zmiana repozytorium
06.10.2026

Ocena i bezpieczeństwo

100/ 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ść35 / 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
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
2
Przestarzałość

Brak sygnałów. Repozytorium zmienione 06.10.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

Przegląda style, komponenty i zachowanie responsywne pod kątem używania transform i opacity w animacjach, sprawdzając wyrenderowany układ na różnych breakpointach i stanach interakcji.

Oryginalny opis (EN)

Use when reviewing stylesheets, component styles, and responsive behavior related to Use transform and opacity for animations. Check the rendered layout across breakpoints and interaction states before proposing a fix.

Jak działa

  1. Quick Reference
  2. Check
  3. Fix
  4. Explain
  5. Code Review
Sekcje z nagłówków SKILL.md, w oryginale · 35 linii, 231 słów
Podgląd SKILL.md
---
name: animation-performance
description: "Use when reviewing stylesheets, component styles, and responsive behavior related to Use transform and opacity for animations. Check the rendered layout across breakpoints and interaction states before proposing a fix."
metadata:
  category: css
  priority: high
  difficulty: intermediate
  estimatedTime: "20"
  source: frontendchecklist.io
  url: https://frontendchecklist.io/rules/css/animation-performance
---

# Use transform and opacity for animations

Animating layout properties (width, height, top, margin) triggers the full browser rendering pipeline on every frame — style recalculation, layout, paint, and composite. This runs on the main thread and competes with JavaScript. Animating transform and opacity skips layout and paint entirely and runs on a dedicated GPU thread, achieving smooth 60fps even when the main thread is busy.

## Quick Reference

- Only transform and opacity can be composited on the GPU without triggering layout
- Use will-change: transform sparingly to promote an element to its own compositor layer
- Prefer CSS transitions and animations over JavaScript animation libraries for simple effects
- Respect prefers-reduced-motion to disable animations for users who need it

## Check

Find CSS animations or transitions in this file that animate layout-triggering properties like top, left, width, height, or margin. Flag them for optimization.

## Fix

Convert layout-triggering animations to use transform equivalents: position changes to translate(), size changes to scale().

## Explain

Explain the browser rendering pipeline, why transform and opacity are performant for animation, and how the GPU compositor works.

## Code Review

Review stylesheets, component styles, and responsive states related to Use transform and opacity for animations. Flag exact selectors, declarations, or breakpoints that violate the rule in the rendered UI.

---

For full implementation details, code examples, and framework-specific guidance,
see `references/rule.md`.

Rule page: https://frontendchecklist.io/rules/css/animation-performance
Pliki w paczce (2)
  • SKILL.md 2 KB
  • references/rule.md 4 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · thedaviddias/front-end-checklist100MIT
emilkowalski/skill100MIT
emilkowalski/skills100MIT
hamedmp/matrix-os100AGPL-3.0
Big-LAORE/Biblioth-que-de-skills95MIT

Migawka bazy z 13.11.2026 · wersja paczki 810af4743d43 (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

  • 100container-queries
    Przegląda arkusze stylów, style komponentów i zachowanie responsywne pod kątem container queries dla responsywności na poziomie komponentu, sprawdzając wyrenderowany układ na breakpointach i stanach interakcji.
  • 100naming-conventions
    Przegląda style CSS, style komponentów i zachowanie responsywne pod kątem spójnego nazewnictwa, sprawdzając układ na breakpointach i w stanach interakcji przed zaproponowaniem poprawki.
  • 100animation-performance-retro
    Optymalizuje animacje w stylu 8-bit pod kątem płynności w pikselartowych animacjach, efektach interfejsu gier i innych retro animacjach.
  • 10060fps-animation
    Naprawia animacje CSS, które się szarpią, zamieniając je na płynne animacje oparte na transform i działające w 60 kadrach na sekundę.
  • 90fec-motion-interaction
    Projektuje i ocenia animacje interakcji we frontendzie: przejścia stron, animacje przewijania, Framer Motion, GSAP, Lottie, CSS, wydajność i zachowanie przy reduced motion.
  • 95tailwind-responsive-design
    Pomaga budować responsywne układy w podejściu mobile-first z Tailwind CSS: breakpointy, container queries i narzędzia responsywne.

Uwagi i zgłoszenia

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