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;
}
Updated on: 2020-07-06T11:43:36+05:30

166 Views

Kickstart Your Career

Get certified by completing the course

Get Started