![CSS play-during 属性](https://img.php.cn/upload/article/000/000/164/169296222983180.jpg)
This attribute specifies the sound that plays in the background while the element's contents are spoken. Possible values can be any of the following -
- ##URI- Thisspecifies the sound to be played in the background while the element's content is
- mix- When present, this keyword means that the sound inherited from the parent element'splay-duringattribute continues to play and that the sound specified byuriis mixed with it. Ifmixis not specified, the element's background sound replaces the parent element's background sound.
- repeat- When present, this keyword means that the sound will repeat if it is too short to fill the entire duration of the element. Otherwise, the sound plays once and then stops.
- auto- The parent element's sound continues to play.
- None>− This keyword means mute.
Example
You can try to use the following code to implement the CSS play-during property -
The above is the detailed content of CSS play-during property. For more information, please follow other related articles on the PHP Chinese website!