-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsuccess.css
More file actions
85 lines (84 loc) · 1.78 KB
/
success.css
File metadata and controls
85 lines (84 loc) · 1.78 KB
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
html,body{
padding:0;
margin:0;
display: flex;
height: 100%;
width: 100%;
justify-content: center;
align-items: center;
align-content: center;
background-image: url("congrats.png");
background-repeat: no-repeat;
background-size: cover;
}
#missionCompleted{
display: grid;
grid-template-rows: repeat(4,1fr);
place-items: center;
width: 400px;
height: 450px;
border-radius: 8px;
background-color: #222222;
}
.success-animation {
margin:110px auto;
}
.checkmark {
width: 100px;
height: 100px;
border-radius: 50%;
display: block;
stroke-width: 3;
stroke: #4bb71b;
stroke-miterlimit: 10;
box-shadow: inset 0px 0px 0px #4bb71b;
animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
position:relative;
top: 0px;
right: 5px;
margin: 0 auto;
}
.checkmark__circle {
stroke-dasharray: 166;
stroke-dashoffset: 166;
stroke-width: 2;
stroke-miterlimit: 10;
stroke: #4bb71b;
fill: #222222;
animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark__check {
transform-origin: 50% 50%;
stroke-dasharray: 48;
stroke-dashoffset: 48;
animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}
@keyframes stroke {
100% {
stroke-dashoffset: 0;
}
}
@keyframes scale {
0%, 100% {
transform: none;
}
50% {
transform: scale3d(1.1, 1.1, 1);
}
}
@keyframes fill {
100% {
box-shadow: inset 0px 0px 0px 30px #4bb71b;
}
}
#a1{
color: red;
font-size: medium;
font-family: 'Roboto', 'Arial', 'Helvetica', sans-serif;
}
p{
color: #ccc;
user-select: none;
font-size: medium;
font-family: 'Roboto', 'Arial', 'Helvetica', sans-serif;
}