Last active
January 20, 2017 19:34
-
-
Save elizad/ea1aa4887f2232d6b860c44d09d2cea5 to your computer and use it in GitHub Desktop.
js code bits
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
if (elem.offstHeight <500){ | |
divs.forEach(function(elem, index, arr){ | |
elem.style.maxHeight = '100vh'; | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment