The rest-after property specifies a rest or prosodic boundary to be observed before (or after) speaking an element's content.

  • Initial valuenone
  • Applies toAll elements
  • InheritedNo
  • MediaSpeech
  • Computed valueSpecified value
  • AnimatableNo
  • CSS VersionCSS3
  • JavaScript syntaxobject.style.restAfter
Formal syntax: <time> | none | x-weak | weak | medium | strong | x-strong

rest-after: [value];
  • <time>Expresses the rest in absolute time units (seconds and milliseconds, e.g. "+3s", "250ms"). Only non-negative values are allowed.
  • noneEquivalent to 0ms (no prosodic break is produced by the speech processor).
  • x-weakExpresses the rest by the strength of the prosodic break in speech output. The exact time is implementation-dependent. The values indicate monotonically non-decreasing (conceptually increasing) break strength between elements.
  • weakAs above
  • mediumAs above
  • strongAs above
  • x-strongAs above
  • inherit
.class {
   rest-after: strong; 
}
?Firefox?Explorer?Chrome?Safari?Opera


Last updated on 23rd March 2014 By Rene Spronk

View All CSS Properties

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.