CSS - cue-after


Advertisements


Description

The cue-after property is used in audio devices to play a sound after an element.

Possible Values

  • none − No media file.

  • URI − Location of media file.

Applies to

All the HTML elements.

DOM Syntax

object.style.cueAfter = url("music.wav");

Example

Here is the example −

<style tyle="text/css">
   <!--
   a {cue-after: url("bell.aiff");}
   h1 {cue-after: url("pop.au"); }
   -->
</style>

It will produce the following result −



Advertisements