The play-during property defines a sound to be played as background while the element is read.

  • Initial valueauto
  • Applies toAll elements
  • InheritedNo
  • MediaAural
  • Computed valueAbsolute URI, rest as specified
  • AnimatableNo
  • CSS VersionCSS2, CSS3
  • JavaScript
Formal syntax: <uri> [ mix || repeat ]? | auto | none | inherit

play-during: [value];
  • none
  • auto
  • <uri>
  • mix
  • repeat
  • inherit
p.credits {play-during: url("music.wav") mix;}

Last updated on 23rd March 2014 By Rene Spronk

View All CSS Properties

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.