CSS rest Speech Media property



The rest property is a shorthand property for rest-before and rest-after properties. Set a pause before or after the element.

The following is the syntax:

rest: rest-before rest-after

Here,

  • rest-before: Rest for some seconds before
    rest-after: Rest for some seconds after

Example

The following is an example of rest speech media property:

h1 {
   rest: 15ms 20ms;
}

Advertisements