Last active
March 4, 2019 11:31
-
-
Save smlparry/4c0c83aee7e22d47014dba1f510a2b00 to your computer and use it in GitHub Desktop.
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
$parallax-perspective: 8px; | |
@function parallax-scale-factor($z-distance) { | |
@return ($parallax-perspective - $z-distance) / $parallax-perspective; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment