pseudo-class
:picture in picture — CSS reference
Matches a video in picture-in-picture state; the browser controls the floating window. CSS does not open that window.
Formal Syntax & Structure
css syntaxcss
:picture-in-picture { color: blue; }Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>:picture-in-picture</title><style>body{margin:8px;background:white;color:black;font:16px/20px sans-serif}*{box-sizing:content-box}#a{color:green}:picture-in-picture{color:blue}</style><body><video id="a" controls></video></body></html>