:loop
A selector that matches a media element (like <video> or <audio>) when it is currently set to play back in a loop.
This is an experimental technology. The syntax and behavior are still subject to change.
Syntax
/* Usage Example */
video:loop {
/* Adds a visual indicator for looping media */
border: 2px solid cyan;
}
:loop Browser support
Limited availability
Since
2020 0% global usage
This feature is not Baseline because it does not work in some of the most widely-used browsers.