Last active
February 8, 2022 12:23
-
-
Save cp-sumi-k/cc79ea7e424d800e0a63853cb6fbcc89 to your computer and use it in GitHub Desktop.
https://blog.canopas.com/animations-with-css-and-vue-transitions-fdb53dbb21e7 - continous-horizontal-animation-5
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
<style scoped> | |
//animation in reverse | |
@keyframes scroll-reverse { | |
0% { | |
transform: translate(-1760px); | |
} | |
100% { | |
transform: translate(0px); | |
} | |
} | |
.grid-animation-reverse { | |
animation: scroll-reverse 5s linear infinite; | |
animation-play-state: paused; | |
} | |
.grid-animation-reverse-running { | |
animation-play-state: running; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment