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;
}
Copyright © 2006 of the German translation, dpunkt.verlag GmbH
You may print the online version for your private use.
Otherwise, this chapter from “CSS − Anspruchsvolle Websites mit Cascading Stylesheets” is subject to the same conditions as the bound edition: the work, including all its parts, is protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
dpunkt.verlag GmbH, Ringstraße 19, 69115 Heidelberg