Created
May 24, 2016 21:17
-
-
Save ginirsss/28f7130ded964b9c74a3ee5f2b674465 to your computer and use it in GitHub Desktop.
resize element
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(window).resize(function() { | |
$(".fondo-completo").width($(window).width() ); | |
$(".fondo-completo").width($(window).width() - 40); | |
$(".fondo-completo").height($(window).height() ); | |
$(".fondo-completo").height($(window).height() - 40); | |
}).resize(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment