CSS pause property
CSS pause Property
Description
pause is a shorthand element for pause-before and pause-after.
Possible Values
- **time** – Any time value (e.g., 150ms) will result in a pause of the specified length.
-
percentage – The length of the pause is determined by the value of speech-rate . For a speech rate of 60 words per minute, which is equivalent to one word per second, the percentage is calculated relative to one second. For a speech rate of 120 words per minute, which is equivalent to one word per second, the percentage is calculated relative to 500 milliseconds.
DOM Syntax
object.style.pause = "150ms";
Applies to
All HTML elements
Example
Here is an example –
<style type = "text/css">
<!--
a:link, a:visited {pause: 25%;}
h1 {pause: 2s 250ms;}
-->
</style>