For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/api/css/properties/animation-play-state.md.
Lynx
  • English
  • animation-play-state

    Introduction

    animation-play-state property specifies whether an animation is running or paused. When resuming a paused animation, it will continue from where it was paused rather than starting from the beginning of the animation sequence.

    Examples

    Syntax

    /* Single animation */
    animation-play-state: running;
    animation-play-state: paused;
    
    /* Multiple animations */
    animation-play-state: paused, running, running;

    Formal definition

    Initial valuerunning
    Applies toall elements
    Inheritedno
    Animatableno

    Formal syntax

    /*default value:running*/
    animation-play-state: running | paused;

    See also

    Compatibility

    LCD tables only load in the browser

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.