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
|percentage
pause-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.
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.