Created
March 30, 2017 10:03
-
-
Save jimmy89Li/6b2c3004e80dd7df77dccbb4381a1fc8 to your computer and use it in GitHub Desktop.
Div height based on other div height
This file contains hidden or 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
var secondTop = (($(window).width())<660) ? ($('.subscribe').outerHeight()/2) : 160; | |
$('.second .topPattern').height(secondTop); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment