blob: 044aec34c224c5b907e835c5351d05c46f6d7325 (
plain)
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
|
#snackbar {
visibility: hidden;
min-width: 250px;
background-color: rgb(231, 81, 81);
color: #fff;
text-align: center;
border-radius: 2px;
padding: 16px;
position: fixed;
z-index: 1;
top: 30px;
right:30px;
}
#snackbar.show {
visibility: visible;
-webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
@-webkit-keyframes fadein {
from {opacity: 0;}
to { opacity: 1;}
}
@keyframes fadein {
from { opacity: 0;}
to { opacity: 1;}
}
@-webkit-keyframes fadeout {
from {opacity: 1;}
to {opacity: 0;}
}
@keyframes fadeout {
from {opacity: 1;}
to {opacity: 0;}
}
.middle {
margin: 0 auto;
width: 50%;
justify-content: center;
justify-items: center;
align-content: center;
align-items: center;
}
|