CSS :playing Selector
Example
:playing {
border: 5px solid green;
}
Meaning
The :playing selector is a resource state pseudo-class that will match an audio, video, or similar resource that is capable of being "played" or "paused", when that element is "playing".
A resource is playing even if in buffering state or paused for any reason other than a user interaction to cause it to be paused.
Version: CSS3
Standard Syntax
:playing {
css declarations;
}
Browser Support
The numbers in the table specify the first browser version that fully supports the property.