:fullscreen

This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for the proper prefixes to use in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the spec changes.

Summary

The :fullscreen CSS pseudo-class applies to any element that's currently being displayed in full-screen mode. See Using full-screen mode for details.

The W3C proposal use the single word :fullscreen, that is without a dash, but both the Webkit and Gecko experimental implementations use a prefixed variant with two words linked by a dash: :-webkit-full-screen and :-moz-full-screen, respectively.

Examples

Needs example.

Specifications

Specification Status Comment
Fullscreen Living Standard  

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 15.0 -webkit (see notes) 9.0 (9.0)-moz (see notes) 11 -ms Not supported 6.0 -webkit (see notes)
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? 9.0 (9.0) Not supported Not supported Not supported

Browser notes

Both the Webkit and Gecko prefixed versions have a dash between full and screen, but he W3C proposal use one single word::fullscreen, :-webkit-full-screen, :-moz-full-screen.

See also

Document Tags and Contributors

Contributors to this page: Sheppy, fscholz, dhritzkiv, dstorey, kscarfone, teoli
Last updated by: kscarfone,
Hide Sidebar