Button by JassiSingh08
#e8e8e8
1button { 2 font-size: 20px; 3 background-color: white; 4 color: black; 5 width: 45px; 6 height: 45px; 7 opacity: 0.75; 8 border: 1px solid #e7eae8; 9 border-radius: 8px; 10 cursor: pointer; 11} 12 13button:hover { 14 animation: bounce_513 1s infinite; 15} 16 17@keyframes bounce_513 { 18 0%, 19 100% { 20 transform: translateX(-25%); 21 animation-timing-function: cubic-bezier(0.8, 0, 1, 1); 22 } 23 24 50% { 25 transform: translateX(0); 26 animation-timing-function: cubic-bezier(0, 0, 0.2, 1); 27 } 28} 29
399 views
Variation of abutton
MIT License