CSS pause-after property

CSS pause-after Property

Description

The pause-after property defines the duration of a silent pause inserted after an element’s content.

Possible Values

  • time − Any time value (e.g., 300ms); the length of the pause will be the specified time.
  • percentage − The length of the pause is determined by the value of speech-rate. So, if the speaking rate is two words per second (120 words per minute), then pause-after: 33% will result in a 167ms pause. If the speaking rate is one word per second (60 words per minute), then it will result in a 333ms pause.


DOM syntax

object.style.pauseAfter = "300ms"; 

Applies to

All HTML elements

Example

This is an example –

<style type = "text/css"> 
<!-- 
table {pause-after: 1500ms;} 
li {pause-after: 50%;} 
--> 
</style> 

Leave a Reply

Your email address will not be published. Required fields are marked *