Button Animations CSS (w/ code)

Moves Down 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 { width: 300px; height: 45px; background-color: grey; }