Created
September 18, 2018 11:45
-
-
Save anton-chernianu/7c0bc48c984f7e6b4ec346b1d1e991e6 to your computer and use it in GitHub Desktop.
GSAP Position window %
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
const vw = (coef) => window.innerWidth * (coef/100); | |
const vh = (coef) => window.innerHeight * (coef/100); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment