Home  >  Article  >  Web Front-end  >  CSSue-before property

CSSue-before property

WBOY
WBOYforward
2023-08-30 13:41:021048browse

CSSue-before 属性

This property specifies the sound to be played before the element's content is spoken to separate it from other elements. Possible values ​​are -

  • #url - The URL of the sound file to play.
  • None - No need to play anything.

Example

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

<style>
   <!--
   a {cue-before: url("bell.aiff");}
   h1 {cue-before: url("pop.au"); }
   -->
</style>

The above is the detailed content of CSSue-before property. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete