Sets specific CSS properties for an element in full-screen mode.
The selector that's displayed in full-screen mode.
As of Internet Explorer for Windows 10 Technical Preview, the experimental "ms" prefix was removed from :-ms-fullscreen. The recommended usage is as follows:
|IE Version||Recommended Usage|
|Prior to Internet Explorer 11||not implemented|
|Internet Explorer for Windows 10 Technical Preview and beyond||:fullscreen|
For improved compatibility with legacy sites, :-webkit-fullscreen is also supported as an alias of :fullscreen.
The following example changes an element (id=test) to expand to the edges of a screen when the element is displayed in full-screen mode.