Created
February 19, 2020 19:07
-
-
Save brunojppb/6ddf2e0a81cd53dbbe0a6615a1a821ac to your computer and use it in GitHub Desktop.
Floating CSS animation
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
img { | |
animation: floating infinite 3s ease-in-out; | |
} | |
@keyframes flaoting { | |
0% { | |
transform: translateY(0px); | |
} | |
50% { | |
transform: translateY(-5px); | |
} | |
100% { | |
transform: translateY(0px); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment