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