🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

fullHeight.js is a really simple jQuery plugin that sets your element (for example Div, Section, etc) 100% height of browser window whenever you resize the window.


Documentation

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();  }); 

You May Also Like