Height Viewport

CSS

JS

JS Offset

JS Offset
Top and Bottom

Lorem ipsum dolor sit amet.

CSS

JS

JS Offset

JS Offset
Top and Bottom

Lorem ipsum dolor sit amet.

Javascript Options

Option Value Default Description
expand false Boolean Expand the element's height to make the document fill the viewport.
offset-top false Boolean Subtract the element's offset top from its height.
offset-bottom false Boolean Subtract the element's immediately following sibling's height from its own height.