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