-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
60 lines (52 loc) · 1.2 KB
/
Copy pathstyle.css
File metadata and controls
60 lines (52 loc) · 1.2 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
html, body { height: 100%; }
body {
background: #3498DB;
animation: sky 5s ease 1s infinite;
}
.wrapper {
display: table;
width: 100%;
height: 100%;
}
.inner {
display: table-cell;
text-align: center;
vertical-align: middle;
}
svg #sun-g {
transform: translateX(200px);
box-shadow:0 0 10px yellow;
animation: sun-g 5s ease 1s infinite;
}
svg #sun {
transform: translateX(-200px);
box-shadow:0 0 10px yellow;
animation: sun 5s ease 1s infinite;
}
@keyframes sky {
0% { background: #3498DB; }
45%,55% { background: #2C3E50; }
100% { background: #3498DB; }
}
@keyframes sun-g {
0% { transform: translateX(200px); }
45%,55% { transform: translateX(0px); }
100% { transform: translateX(-200px); }
}
@keyframes sun {
0% { transform: translateX(-200px);
box-shadow:0 0 10px yellow;
box-shadow:0 0 20px yellow;
box-shadow:0 0 30px yellow;
}
45%,55% { transform: translateX(0px);
box-shadow:0 0 50px yellow;
box-shadow:0 0 60px yellow;
box-shadow:0 0 70px yellow;
}
100% { transform: translateX(200px);
box-shadow:0 0 90px yellow;
box-shadow:0 0 100px yellow;
box-shadow:0 0 110px yellow;
}
}