pseudo-class

:fullscreen — CSS reference

Matches an element in fullscreen state. The Fullscreen API or user action controls entry and exit; CSS alone does not request fullscreen.

Formal Syntax & Structure

css syntaxcss
:fullscreen { color: blue; }

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>:fullscreen</title><style>body{margin:8px;background:white;color:black;font:16px/20px sans-serif}*{box-sizing:content-box}#a{color:green}:fullscreen{color:blue}</style><body><section id="a">Presentation</section></body></html>
CSS Reference