Skip to content

Instantly share code, notes, and snippets.

@tonY1883
Created July 31, 2017 01:04
Show Gist options
  • Save tonY1883/425bfa868c494b45d40b096b09f76bfd to your computer and use it in GitHub Desktop.
Save tonY1883/425bfa868c494b45d40b096b09f76bfd to your computer and use it in GitHub Desktop.
.floating {
animation-name: floating;
animation-duration: 4s;
animation-iteration-count: infinite;
animation-timing-function: ease-in-out;
margin-left: 30px;
margin-top: 5px;
}
@keyframes floating {
from {
transform: translate(0, 0px);
}
65% {
transform: translate(0, 15px);
}
to {
transform: translate(0, -0px);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment