123.button {4 display: flex;5 justify-content: center;6 align-items: center;7 padding: 6px 12px;8 gap: 8px;9 height: 34px;10 width: 112px;11 border: none;12 background: #ff362b34;13 border-radius: 20px;14 cursor: pointer;15}16.lable {17 line-height: 20px;18 font-size: 17px;19 color: #FF342B;20 font-family: sans-serif;21 letter-spacing: 1px;22}23.button:hover {24 background: #ff362b52;25}26.button:hover .svg-icon {27 animation: spin 2s linear infinite;28}29@keyframes spin {30 0% {31 transform: rotate(0deg);32 }33 100% {34 transform: rotate(-360deg);35 }36}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
.button {
display: flex;
justify-content: center;
align-items: center;
padding: 6px 12px;
gap: 8px;
height: 34px;
width: 112px;
border: none;
background: #ff362b34;
border-radius: 20px;
cursor: pointer;
}
.lable {
line-height: 20px;
font-size: 17px;
color: #FF342B;
font-family: sans-serif;
letter-spacing: 1px;
}
.button:hover {
background: #ff362b52;
}
.button:hover .svg-icon {
animation: spin 2s linear infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(-360deg);
}
}
You need to sign in before you can write a comment.