Button Animations CSS (w/ code)

Moves Up Button Animation With Code

See Code

Back

CSS Code Below

.button_name:hover{ animation-duration: 1s; transition-duration: 1s; transition-property: 1s; -moz-transform: translate(0px, -10px); -ms-transform: translate(0px, -10px); -o-transform: translate(0px, -10px); transform: translate(0px, -10px) } .button_name { width: 50%; height: 50%; border-radius: 10px; background-color: grey; }