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 Expands the element's height to make the document fill the viewport.
offset-top false Boolean Subtracts the element's offset top from its height.
offset-bottom false Boolean Subtracts the element's immediately following sibling's height from its own height.