The cue property is a shorthand for cue-before and cue-after. If two values are given the first value is cue-before and the second is cue-after. If only one value is given, it applies to both properties.

  • Initial valueSee individual properties
  • Applies toAll elements
  • InheritedNo
  • MediaAural
  • Computed valueSee individual properties
  • AnimatableNo
  • CSS VersionCSS2, CSS3
  • JavaScript syntaxobject.style.cue
Formal syntax: <cue-before> <cue-after>?
  • <cue-before>See cue-before CSS property for values.
  • <cue-after>See cue-after CSS property for values.
.class {
   cue: url("quack.wav");
}
?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.