CSS pause Property
Description
The pause
property is a shorthand property for pause-before and pause-after. If two values are given, the first value is pause-before and the second is pause-after. If only one value is given, it applies to both properties.
The pause property has been deprecated or is no longer in any CSS working groups.
- Initial value
- Depends on user agent
- Applies to
- All elements
- Inherited
- No
- Computed value
- N/A see individual properties
- Animatable
- No
- JavaScript syntax
- object.style.pause
Syntax
pause: <pause-before> <pause-after>?
Values
- <pause-before>See pause-before CSS property for values.
- <pause-after>See pause-after CSS property for values.
Example
.class {
pause: 25ms;
}
.class2 {
pause: 25ms 30ms;
}
Browser Support
The following table will show you the current browser support for the CSS pause
property.
Desktop | |||||
![]() |
![]() |
![]() |
![]() |
![]() |
|
? | ? | ? | ? | ? |
Tablets / Mobile | |||||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
? | ? | ? | ? | ? | ? |