B.28. cue

Sound cues are used by aural (speaking) browsers for the visually impaired as "audio icons". This is a shorthand property that lets you specify the cue-before and cue-after properties with a single property declaration.

Inherited: No

See also: Section B.29cue-before, Section B.29cue-after

B.28.1. Value

One or two URLs (specified with CSS url() syntax) that point to sound files. If one URL is provided, it is assigned to cue-before and cue-after—the sound is played before and after the element. If two URLs are provided, the first is assigned to cue-before and the second to cue-after.

Initial value: none

B.28.2. Compatibility

CSS Version: 2

Not supported by any currently-available browser.

B.28.3. Example

This example plays ding.wav before and after each div element:

div {
  cue: url(/sounds/ding.wav);
}

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.205.223