CSS :fullscreen Selector
Example
:fullscreen {
background-color: red;
}
Meaning
The :fullscreen selector matches every element which is currently in fullscreen mode. If multiple elements have been put into fullscreen mode, this selects them all.
The :fullscreen pseudo-class lets you configure your stylesheets to automatically adjust the size, style, or layout of content when elements switch back and forth between fullscreen and traditional presentations.
Version: CSS3
Standard Syntax
:fullscreen {
css declarations;
}
Browser Support
The numbers in the table specify the first browser version that fully supports the property.