XML technologies / CSS / Advanced websites with CSS / CSS property reference / pause-after, pause-before

(Excerpt from “CSS − Advanced websites with Cascading Stylesheets” by Rachel Andrew & Dan Shafer)

In aural browsers, a pause indicates that two sections are not related in content. The properties pause-before and pause-after describe the length of a pause before and after a spoken element.

Inherited: no

See also: pause, speech-rate

Values

A time value, either as a CSS measurement in s (seconds) / ms (milliseconds), or as a percentage of the average word duration (determined with 1/tempo, where tempo represents the value of the property speech-rate ).

Default value: depends on the browser

Compatibility

CSS version: 2

Not supported by any current visual browser.

Example

The following rules insert a pause of half the average word duration before each h1 element. No pause is inserted before h1 elements of the class unterkapitel:

h1 {
 pause-before: 50%;
}
h1. unterkapitel{
 pause-before: none;
}

  

 

 

 

back to top