:loop
Limited availability0% of usersExperimental
A selector that matches a media element (like <video> or <audio>) when it is currently set to play back in a loop.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyComingNot in yet, so not every major browser supports it.
See how modern your own CSS is.Check your CSS →
Quick example
video:loop {
/* Adds a visual indicator for looping media */
border: 2px solid cyan;
}:loop browser support
BaselineLimited availabilityThis feature is not Baseline because it does not work in some of the most widely-used browsers.Not ready for production without a fallback.
Usage0%of people can use this100% use a browser without it.