CSS cue-before Property

CSSWeb DevelopmentFront End Technology

This property specifies a sound to be played before speaking an element's content to delimit it from other. The possible values are −

  • url − The URL of a sound file to be played.
  • none − Nothing has to be played.


You can try to run the following code to implement cue-before property in CSS

   a {cue-before: url("bell.aiff");}
   h1 {cue-before: url("pop.au"); }
Published on 30-Apr-2018 07:36:08