CSS rest-after

The CSS rest-after property is used in speech media to specify a prosodic boundary (silence with a specific duration) after an element.

A prosodic boundary is defined as "silence with a specific duration". In other words, the rest-after property allows you to set a pause after an element. Prosodic boundaries are a normal part of spoken language, and they can be a crucial part of helping the listener comprehend the words and meaning of the spoken text.

The rest-after property can be seen as the speech media equivalent to the padding-bottom property in visual media.

Also see rest and rest-before.


Possible Values

Expresses the rest in absolute time units (for example 50ms). Only non-negative values are allowed.
Equivalent to 0ms (no prosodic break is produced by the speech processor).
x-weak, weak, medium, strong, and x-strong
These values express the rest by the strength of the prosodic break in speech output. The exact time will depend on the output device/user agent being used.


Represents the value specified as the property's initial value.
Represents the computed value of the property on the element's parent.

General Information

Initial Value
Applies To
All elements.

Example Code

Official Specifications

Vendor Prefixes




