:xr-overlay
Selector Limited availability Experimental
Spec The :xr-overlay pseudo-class MUST match the overlay element for the duration of an immersive session using a DOM Overlay.
MDN The :xr-overlay CSS pseudo-class, defined in the WebXR DOM overlays module, matches the DOM overlay element when a web page is being viewed in an immersive AR or VR environment.
Syntax
:xr-overlay Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
Browser support
| Chrome | 83 |
|---|---|
| Edge | 83 |
| Firefox | No |
| Safari | No |
| Chrome Android | 83 |
| Safari iOS | No |
First version with support, from MDN browser-compat-data.