CSS - pause



The pause is a shorthand element for pause-before and pause-after.

Possible Values

  • time − Any time value (e.g., 150ms); the pause will be the length of time specified.

  • percentage − The length of the pause is dictated by the value of speech-rate. For a speech-rate of 60 words per minute, which corresponds to one word per second, then a percentage is calculated with respect to one second. For a speech-rate of 120 words per minute, which yields a time per word of 500 milliseconds, then percentage would be calculated with respect to 500 milliseconds.

DOM Syntax

object.style.pause = "150ms";

Applies to

All the HTML elements


Here is the example −

<style tyle="text/css">
   a:link, a:visited {pause: 25%;}
   h1 {pause: 2s 250ms;}