#e8e8e8
1.button { 2 display: flex; 3 justify-content: center; 4 align-items: center; 5 padding: 8px 12px; 6 gap: 2px; 7 height: 40px; 8 width: 85px; 9 border: none; 10 background: #a549da3d; 11 border-radius: 20px; 12 cursor: pointer; 13} 14 15.lable { 16 line-height: 22px; 17 font-size: 19px; 18 color: #A649DA; 19 font-family: sans-serif; 20 letter-spacing: 1px; 21} 22 23.button:hover { 24 background: #a549da62; 25} 26 27.button:hover .svg-icon { 28 animation: lr 1s linear infinite; 29} 30 31@keyframes lr { 32 0% { 33 transform: translateX(0); 34 } 35 36 25% { 37 transform: translateX(-1px); 38 } 39 40 75% { 41 transform: translateX(1px); 42 } 43 44 100% { 45 transform: translateX(0); 46 } 47}
Comments
MIT License