CSS rest-after Speech Media property

What is the role of the rest-after speech media property in CSS? How can I work with it affectively?

1 Answer
Nishtha Thakur

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.


We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.