Last active
September 27, 2017 14:23
-
-
Save ajliv/d37420efa1f9d8de52179b2791101168 to your computer and use it in GitHub Desktop.
Trippy CSS animation
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
.trippy { | |
animation-name: animate-trippy; | |
animation-duration: 1s; | |
animation-timing-function: ease-in-out; | |
animation-iteration-count: infinite; | |
animation-direction: alternate | |
} | |
@keyframes animate-trippy { | |
0% { | |
filter: hue-rotate(0deg) saturate(10); | |
} | |
100% { | |
filter: hue-rotate(360deg) saturate(10); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In action here: https://codepen.io/drewnoakes/pen/XeMObg