Created
February 27, 2017 23:57
-
-
Save gregwhitworth/a97d95503b503374b8f1202e02c8b005 to your computer and use it in GitHub Desktop.
custom-props-animate.css
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
div { | |
--pos: 0; | |
left: var(--pos); | |
animation: move 1s; | |
} | |
@keyframes move { | |
to { | |
--pos: 50px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment