Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Set home hero content height to viewport height
- var windowHeight = $( window ).height();
- $( '#home-hero-content' ) .css({'height': windowHeight +'px'});
- $( window ).resize(function(){
- var windowHeight = $( window ).height();
- $( '#home-hero-content' ) .css({'height': windowHeight +'px'});
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement