CSS play-during
The CSS play-during property is used in audio devices to play a sound in the background while element's content is being played/spoken.
Also see the cue-after and cue-before properties.
| Syntax: |
play-during: <value>
|
| Possible Values: |
- none
- auto
- <URI> (must point to an audio resource)
- mix - the sound (as specified by the URI) is played while the parent's sound continues to play. If mix is not specified, the parent's sound will cease when this element's sound starts.
- repeat - the sound will repeat if it is too short for the element's content.
- inherit
|
| Initial Value: |
auto
|
| Applies to: |
All elements
|
| Inherited: |
No
|
| Media: |
Aural
|
| Example: |
p.credits { play-during: url("symphony.wav") mix }
|
Enjoy this website?
- Share
- Add this page to your Favorites
- Link to this page (copy/paste into your own website or blog):
- Link to Quackit using one of these banner ads.
- Help support Quackit by making a donation
Oh, and thank you for supporting Quackit!