Keyframes
Keyframes
Keyframes sind benannte Punkte in einer Animation. Jeder Punkt setzt Eigenschaftswerte für einen gewählten Moment.
@keyframesEin echtes Beispiel
Eine Benachrichtigung kommt bei 0 % herein, bleibt bei 70 % stehen und verschwindet bei 100 %.
Hauptteile
- 01Auslösen
- 02Property change
- 03Timing model
- 04Reduced-motion result
Verwenden Sie es, wenn
Verwenden Sie Keyframes für mehrere Phasen oder eine Schleife, die eine einfache Übergangsanimation nicht erzeugen kann.
Nutze es nicht, wenn
Steuern Sie niemals jeden Frame per Hand, wenn einfache Interpolation die Aufgabe erledigen kann.
In Code verwendeter Name
@keyframes Vor dem Ausliefern
Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience.
Outcome: Complete the task with Keyframes (Keyframes). User context: Eine Benachrichtigung kommt bei 0 % herein, bleibt bei 70 % stehen und verschwindet bei 100 %. Design concept to apply: Keyframes (Keyframes). Why it fits: Verwenden Sie Keyframes für mehrere Phasen oder eine Schleife, die eine einfache Übergangsanimation nicht erzeugen kann. Do not use it when: Steuern Sie niemals jeden Frame per Hand, wenn einfache Interpolation die Aufgabe erledigen kann. Design requirements: Set the content order, shared design values, and reusable components. Define how the layout changes by screen size and state. Keep useful design choices separate from decoration. Inclusion and resilience: Check contrast, zoom, languages, themes, and reduced motion when needed. Do not use color or effects as the only way to show meaning. Acceptance criteria: The design stays clear on phones and desktops, at zoom, in every theme, and in all supported languages. Interactive states stay clear and consistent. Evidence and limits (evidence boundary): Ein formelles Dokument kann trotzdem ein Entwurf, ein Release Candidate oder die finale Version sein. Prüfe seinen Status und die Browser- oder Plattform-Unterstützung. Unknowns to confirm: Brand limits, amount of content, supported themes and languages, target devices, and design-system rules.
Diese Anfrage prüfen
Review how Keyframes (Keyframes) is used now. Definition: Keyframes sind benannte Punkte in einer Animation. Jeder Punkt setzt Eigenschaftswerte für einen gewählten Moment. Release checks: Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.