1.2K views
1.button { 2 display: flex; 3 justify-content: center; 4 align-items: center; 5 padding: 6px 12px; 6 gap: 8px; 7 height: 36px; 8 width: 120px; 9 border: none; 10 background: #5e41de33; 11 border-radius: 20px; 12 cursor: pointer; 13} 14 15.lable { 16 line-height: 20px; 17 font-size: 17px; 18 color: #5D41DE; 19 font-family: sans-serif; 20 letter-spacing: 1px; 21} 22 23.button:hover { 24 background: #5e41de4d; 25} 26 27.button:hover .svg-icon { 28 animation: spin 2s linear infinite; 29} 30 31@keyframes spin { 32 0% { 33 transform: rotate(0deg); 34 } 35 36 100% { 37 transform: rotate(360deg); 38 } 39}
MIT License