Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Data-attribute bind functionality: fill available window area using the target element.
// RECOMENDAVEL UTILIZAR $().ready JA EXISTENTE
$(document).ready(function() {
var $filler = $('[data-fill-till-bottom]');
$filler.height($(window).height() - $filler.offset().top);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment