The cue-before property defines an auditory icon played before the element to distinguish and delimit the element.

  • Initial valuenone
  • Applies toAll elements
  • InheritedNo
  • MediaAural
  • Computed valueSpecified value
  • AnimatableNo
  • CSS VersionCSS2, CSS3
  • JavaScript syntaxobject.style.cueBefore
Formal syntax: <uri> <decibel>? | none
  • noneSpecifies that no auditory icon is used.
  • <uri>The URI designates an auditory icon resource. When a user agent is not able to render the specified auditory icon (e.g. missing file resource, or unsupported audio codec), it is recommended to produce an alternative cue, such as a bell sound.
  • <decibel>A number immediately followed by "dB" (decibel unit).
.class {
   cue-before: url("quack.wav");
   cue-after: url("woof.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.