Created
September 20, 2017 05:24
-
-
Save iamryanyu/5b1aaab31ba6f2c202f9aca59decce5a to your computer and use it in GitHub Desktop.
An alternative for calc in translateY
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
.selector { | |
//transform: translateY(calc(100% - 170px)); | |
transform: translateY(100%) translateY(-170px); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment