CSS rest-after Speech Media property

The CSS rest-after property is useful for speech media to set pause after an element.

The following is the syntax −

rest-after: <time> | none | x-weak | weak | medium | strong | x-strong

Here, x-weak | weak | medium | strong | x-strong is the rest by the strength of pause

Let us see an example of rest-after speech media property −

h1 {
   rest-after: 15ms;

The time sets the pause in milliseconds.

Updated on: 12-Jun-2020


Kickstart Your Career

Get certified by completing the course

Get Started