-
Notifications
You must be signed in to change notification settings - Fork 0
/
stars.css
78 lines (70 loc) · 1.17 KB
/
stars.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
.stars {
background-color: #222;
width: 100%;
height: 100%;
display: block;
}
.star-size-1 {
width: 1px;
height: 1px;
}
.star-size-2 {
width: 2px;
height: 2px;
}
.star-size-3 {
width: 3px;
height: 3px;
}
.star-size-4 {
width: 4px;
height: 4px;
}
.star {
border-radius: 50%;
background-color: white;
position: absolute;
}
.shadow {
-webkit-shadow: 0 0 4px 2px rgba(255, 255, 255, 0.6);
-moz-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.6);
box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.6);
}
.anim-2 {
animation: star 2s infinite;
-webkit-animation: star 2s infinite;
}
.anim-3 {
animation: star 3s infinite;
-webkit-animation: star 3s infinite;
}
.anim-4 {
animation: star 4s infinite;
-webkit-animation: star 4s infinite;
}
.anim-5 {
animation: star 5s infinite;
-webkit-animation: star 5s infinite;
}
@keyframes star {
0% {
opacity: 0.3;
}
50% {
opacity: 1;
}
100% {
opacity: 0.3;
}
}
@-webkit-keyframes star {
0% {
opacity: 0.3;
}
50% {
opacity: 1;
}
100% {
opacity: 0.3;
}
}