Pseudo-class:
viewport

Support Key: [N6]
Other Rendering-Area
Pseudo-Classes

viewport-scroll
canvas
scrolled-content
= Index DOT Css by Brian Wilson =
Main Index | Property Index | CSS Support History | Browser History



   Quick Statistics   
Applicable Elements:
Any
HTML Equivalent:
NA
What is it?
This is a pseudo-class indicating a virtual piece of a document - the rendering viewport. As such, its use is limited and should not be combined with other elements in a selector.
Example
Ext/Doc: :viewport { background-color: yellow }
(turns the background of the viewport yellow.)
In-Line:  NA
Browser Peculiarities

Boring Copyright Stuff....