Tutorials

CSS 'animation-play-state' Property Explained

  • Published
  • 1 min read
  • CSS
  • HTML
  • Web Design
CSS 'animation-play-state' Property
In this article
  1. CSS 'animation-play-state' Property Examples
  2. Browser Support For 'animation-play-state' Property
  3. CSS Syntax of the 'animation-play-state' Property
  4. Usage of the 'animation-play-state' Property
  5. Property Values of the 'animation-play-state' Property

Corrected . The browser-support table was rebuilt from MDN browser-compat-data (unprefixed support, desktop browsers), checked 3 October 2026. Editorial approval is still pending.

The CSS 'animation-play-state' property allows you to control the running state of an animation, allowing you to pause and resume it as needed. This property is particularly useful for creating interactive animations that respond to user inputs, such as hover effects or animations that can be paused and resumed with buttons or other controls.

CSS 'animation-play-state' Property Examples

See the Pen CSS 'animation-play-state' Property by Webzstore (@webzstore) on CodePen.

The 'animation-play-state' property adds a layer of interactivity to web pages by allowing animations to be paused and resumed. This enhances the user experience with dynamic and responsive visual feedback.

Browser Support For 'animation-play-state' Property

Unprefixed support for the animation-play-state property (selected supported implementation, desktop browsers)
BrowserVersionReleased
Chrome43May 2015
Edge12Jul 2015
Firefox16Oct 2012
Safari9Sep 2015
Opera30Jun 2015

Source: MDN browser-compat-data 8.1.4, checked 3 October 2026. Prefixed support and implementations that were later removed are not counted, and some browsers list partial support or extra values. See the MDN reference for animation-play-state for the full compatibility details, including mobile browsers.

CSS Syntax of the 'animation-play-state' Property

animation-play-state: running | paused;

Usage of the 'animation-play-state' Property

You'd use 'animation-play-state' when you want to control the playback of CSS animations dynamically. For example, you might pause an animation when the user scrolls away from an element or hovers over a specific area, providing a more engaging and interactive user experience.

Property Values of the 'animation-play-state' Property

  • Running: The default value. The animation will play as normal.
  • Paused: The animation is paused at its current state. If applied before the animation starts, the animation will be paused at the beginning.

Share this article

Written by

Webzstore Team

Webzstore has helped businesses since 2010. Today, we bring websites, digital marketing and enquiry follow-up into practical plans built around the work each business needs.

Related services

Talk about your website or marketing

Book a Free 30-Minute Call

More tutorials

All tutorials

Privacy choices

Choose what this website may load. Your choice is saved on this device for up to 180 days. Privacy Policy

Turning a choice off stops further use of that optional service on this site. It does not take back information already sent, and we cannot delete cookies that other services set in your browser.