1.space-button { 2 align-items: center; 3 background-image: linear-gradient(to left bottom, #220ee9, #0021d3, #0029bb, #002ca3, #002d8a, #003e92, #004e98, #005d9b, #0084bc, #00acd5, #00d4e6, #5ffbf1); 4 border-radius: 0 25px 0 25px; 5 border: 0; 6 color: #f1f1f1; 7 display: flex; 8 font-size: 16px; 9 padding: 10px 20px; 10} 11 12.space-icon { 13 margin-left: 10px; 14} 15 16.space-button:hover .space-icon { 17 animation: move_4001 0.6s infinite alternate; 18} 19 20@keyframes move_4001 { 21 0% { 22 transform: translateY(2px); 23 } 24 25 100% { 26 transform: translateY(-2px); 27 } 28} 29
MIT License