Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Smooth Animation CSS
div {
-webkit-transition: all 2s cubic-bezier(0.165, 0.84, 0.44, 1);
transition: all 2s cubic-bezier(0.165, 0.84, 0.44, 1);
}
div::after {
-webkit-transition: all 2s cubic-bezier(0.165, 0.84, 0.44, 1);
transition: all 2s cubic-bezier(0.165, 0.84, 0.44, 1);
}
div:hover {
color: inherit;
margin-left: 10px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.