Name
pause-after, pause-before — NN n/a IE n/a CSS 2
Synopsis
Inherited: No
For aural style sheets, sets the duration of a pause after or before the current element. You can assign both attributes to the same element to designate pauses before and after the element is spoken.
CSS Syntax
pause-after:time|percentagepause-before:time|percentage
Value
Values for time are floating-point numbers
followed by either the ms (milliseconds) or
s (seconds) unit identifier. These settings are
therefore absolute durations for pauses. Values for
percentage are inversely proportional to
the words-per-minute values of the speech-rate
attribute setting. Because the speech-rate
controls how long it takes for a single word (on average), a
pause setting of 100% means
that a pause has the same duration as a single word; a setting of
50% would be a pause of one-half the duration of
speaking a single word.
Initial Value
Depends on the browser.
Applies To
All elements.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access