CSS cue-after 属性

cssweb developmentfront end technology更新于 2024/10/6 22:36:17

cue-after 属性指定在读完某个元素的内容后播放的声音,用于将该元素与其他元素分隔开来。可能的值包括 −

  • url − 待播放声音文件的 URL。
  • none − 无需播放任何内容。

示例

<style>
   <!--
      a {cue-after: url("dong.wav");}
      h1 {cue-after: url("pop.au"); }
   -->
</style>

相关文章


有用资源