-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
77 lines (58 loc) · 1.15 KB
/
index.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
#current-time {
display: block;
font-weight: bold;
text-align: center;
width: 200px;
padding: 10px;
}
.top-strap, .bottom-strap {
border: 2px solid #b3b3b3;
background-color: white;
height: 25px;
width: 50%;
}
.top-strap {
position: absolute;
top: -10px;
left: 11px;
z-index: -1;
}
.bottom-strap {
position: absolute;
bottom: -6px;
left: 11px;
z-index: -1;
}
.location {
position: absolute;
top: 50%;
left: 50%;
/* Fade-in Animation */
-webkit-animation: fade-in 2s ease-in-out; /* Safari 4+ */
-moz-animation: fade-in 2s ease-in-out; /* Fx 5+ */
-o-animation: fade-in 2s ease-in-out; /* Opera 12+ */
animation: fade-in 2s ease-in-out; /* IE 10+, Fx 29+ */
}
#clock {
border: 2px solid #b3b3b3;
background-color: white;
border-radius: 200px;
z-index: 10;
}
/* Fade-in Keyframe Animation */
@-webkit-keyframes fade-in {
0% { opacity: 0; }
100% { opacity: 1; }
}
@-moz-keyframes fade-in {
0% { opacity: 0; }
100% { opacity: 1; }
}
@-o-keyframes fade-in {
0% { opacity: 0; }
100% { opacity: 1; }
}
@keyframes fade-in {
0% { opacity: 0; }
100% { opacity: 1; }
}