Created
June 26, 2017 21:21
-
-
Save davidicus/129884b81ae7146fb7c1b0cef3d06127 to your computer and use it in GitHub Desktop.
Using custom properties to run a ternary operator in css
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
calc(-1 * var(--panning) + 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment