FANDOM


The CSS cue property is a shorthand property for setting both cue-before and cue-after property values. If two values are given, the first value is assigned to cue-before and the second is cue-after. Those two values must be separated by a space. If only one value is given, it applies to both properties. If loading of a URL fails, nothing should be played, but if the system does not have the ability to play it, the spec says the system should try to use some sort of cue (audio, visual or other).

Values

Value Description
inherit Explicitly sets the value of this property to that of the parent.
none Plays no sound before and after the element.
URL Indicates the URL of a sound file to be played before and after the element. If loading of the indicated URL fails no sound will be played. If the referenced resource is not a sound file, it should be ignored and the property should be treated as if the value were set to none.


HTML example:

<strong style="cue:url(orchestralsneeze.wav) url(quack.wav);">TEXT</strong>


CSS example:

strong {
        cue:url(orchestralsneeze.wav) url(quack.wav);
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.