-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRotateClock.css
More file actions
89 lines (79 loc) · 1.58 KB
/
Copy pathRotateClock.css
File metadata and controls
89 lines (79 loc) · 1.58 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
86
87
88
89
body {
/*background: #000f1f;*/
background: #000;
color: #00ffff;
text-shadow: rgba(0, 255, 255, 50) 0 0 1em;
font-size: 32px;
}
.father {
position: absolute;
/* top: 600px;
left: 1600px; */
}
#wheelOfSeconds {
/*top: 400px;*/
left: 1024px;
position: absolute;
/*font-size: 32px;*/
display: inline;
/* transform: rotate(360deg); */
/* transform: skew(30deg, -10deg); */
transform-origin: -1024px;
animation: rotate 60s infinite linear;
}
#wheelOfMinutes {
/*top: 400px;*/
left: 768px;
position: absolute;
/*font-size: 32px;*/
display: inline;
/* transform: rotate(360deg); */
/* transform: skew(30deg, -10deg); */
transform-origin: -768px;
animation: rotate 3600s infinite linear;
}
#wheelOfHours {
/*top: 400px;*/
left: 512px;
position: absolute;
/*font-size: 32px;*/
display: inline;
/* transform: rotate(360deg); */
/* transform: skew(30deg, -10deg); */
transform-origin: -512px;
animation: rotate 86400s infinite linear;
}
#time {
font-size: 128px;
position: relative;
left: -50%;
top: 128px;
}
#date {
font-size: 48px;
position: relative;
/* left: -45%; */
top: 128px;
text-align: center;
margin: 0 auto;
}
.seconds {
transform-origin: -1024px;
position: fixed;
width: 256px;
}
.minutes {
transform-origin: -768px;
position: fixed;
width: 256px;
}
.hours {
transform-origin: -512px;
position: fixed;
width: 256px;
}
@keyframes rotate {
100% {
transform: rotate(-360deg);
}
}