-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
99 lines (93 loc) · 2.02 KB
/
styles.css
File metadata and controls
99 lines (93 loc) · 2.02 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
90
91
92
93
94
95
96
97
98
99
body{
text-align: center;
background: black;
font-family: sans-serif;
font-weight: 100;
}
#clockdivText{
font-family: sans-serif;
color: red;
font-weight: 100;
text-align: center;
font-size: 140px;
}
#currentTime{
font-family: sans-serif;
color: white;
font-weight: 100;
text-align: right;
font-size: 120px;
}
#clockdiv{
font-family: sans-serif;
color: red;
font-weight: 100;
text-align: center;
font-size: 240px;
}
#header{
font-family: sans-serif;
color: pink;
font-weight: 100;
text-align: center;
font-size: 60px;
}
table {
border-collapse: collapse;
}
table, th, td {
border: 1px solid white;
padding: 20px;
font-family: sans-serif;
color: white;
font-weight: 100;
text-align: left;
font-size: 40px;
}
.footerDiv {
position : absolute;
bottom : 0;
height : 80px;
width: 100%;
font-weight: 100;
}
.footerDiv h3 {
font-size: 60px;
color: pink;
position: absolute;
width: 100%;
height: 100%;
margin: 0;
line-height: 50px;
text-align: center;
white-space: nowrap;
/* Starting position */
-moz-transform:translateX(100%);
-webkit-transform:translateX(100%);
transform:translateX(100%);
/* Apply animation to this element */
-moz-animation: footerDiv 30s linear infinite;
-webkit-animation: footerDiv 30s linear infinite;
animation: footerDiv 30s linear infinite;
}
/* Move it (define the animation) */
@-moz-keyframes footerDiv {
0% { -moz-transform: translateX(100%); }
100% { -moz-transform: translateX(-200%); }
}
@-webkit-keyframes footerDiv {
0% { -webkit-transform: translateX(100%); }
100% { -webkit-transform: translateX(-200%); }
}
@keyframes footerDiv {
0% {
-moz-transform: translateX(100%); /* Firefox bug fix */
-webkit-transform: translateX(100%); /* Firefox bug fix */
transform: translateX(100%);
}
100% {
-moz-transform: translateX(-200%); /* Firefox bug fix */
-webkit-transform: translateX(-200%); /* Firefox bug fix */
transform: translateX(-200%);
}
}