:loop
ExperimentalA selector that matches a media element (like <video> or <audio>) when it is currently set to play back in a loop.
Quick example
video:loop {
/* Adds a visual indicator for looping media */
border: 2px solid cyan;
} :loop Browser Support
Limited availability 0% global usage
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Not ready for production without a fallback.