:fullscreen
Limited availability97% of users
Targets an element while it is being displayed in the browser's full-screen mode (e.g., when a video or a photo is expanded to fill the whole monitor).
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:fullscreen {
/* Keeps the background black during full-screen video playback */
background-color: black;
border: none;
}:fullscreen 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.
Usage97%of people can use this3% use a browser without it.
Browsers
71+
64+
16.4+
12+Mobile
71+Android
64+Android