3.9K views
1button { 2 font-size: 1rem; 3 padding: 0.8em 2em; 4 background-color: #000; 5 border: 3px solid yellow; 6 border-radius: 1em; 7 color: #fff; 8 font-weight: bolder; 9 transition: cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.4s; 10 box-shadow: -5px 5px 0px 0px yellow; 11} 12 13button:hover { 14 transform: translate(5px, -5px); 15}
MIT License