-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
103 lines (93 loc) · 1.53 KB
/
style.css
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
.container {
margin: 100px auto;
height: 600px;
width: 600px;
border-radius: 10px;
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
-webkit-flex-wrap: wrap;
-moz-flex-wrap: wrap;
-ms-flex-wrap: wrap;
-o-flex-wrap: wrap;
flex-wrap: wrap;
justify-content: space-around;
align-items: center;
background: linear-gradient(to right, #40e0d0, #ff8c00, #ff0080);
}
.item {
width: 120px;
height: 120px;
margin: 5px;
border-radius: 10px;
border: 2px solid white;
display: flex;
align-items: center;
justify-content: center;
transition: 0.8s;
opacity: 1;
}
.inner {
transition: 0.4s;
}
.inactive {
opacity: 0;
transition: 0.4s;
}
.buz,
.fa {
animation: fading 1s;
animation-fill-mode: forwards;
background-color: transparent;
}
@keyframes fading {
from {
opacity: 1;
}
to {
opacity: 0;
background-color: #fff;
}
}
svg {
height: 100px;
}
/* svg path {
fill: red;
stroke-dashoffset: 220;
stroke-dasharray: 1100;
stroke-width: 22px;
} */
.total {
position: absolute;
left: 50%;
top: 20px;
transform: translateX(-50%);
display: flex;
align-items: center;
justify-content: center;
text-align: center;
font-size: 24px;
font-weight: bold;
border: 3px solid green;
padding: 10px;
border-radius: 10px;
}
.score {
display: inline-block;
padding-left: 10px;
color: var(--score-color);
}
.item {
animation: vis 2s ease-in-out;
}
@keyframes vis {
from {
opacity: 0;
}
to {
opacity: 1;
}
}