Skip to content

beeeees/full-height-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Full height jQuery plugin

Demo: Codepen

Use jQuery to make an element full height of the browser window, even on resize. A bit outdated now, but useful for certain cross-browser support requirements. Hopefully you can use CSS viewports now: height: 100vh.

Requires JQuery

To initialize, call on the element of your choice:

 $(document).ready(function() {
   $('.full-height').fullHeight();
 });