-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
92 lines (84 loc) · 1.72 KB
/
style.css
File metadata and controls
92 lines (84 loc) · 1.72 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
* {
padding: 0;
margin: 0;
line-height: unset;
}
.wrapper {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
flex-direction: column;
}
.analog-clock {
height: 20rem;
width: 20rem;
background: #ffffff;
border-radius: 100%;
border: 5px solid #ffffff;
box-shadow: inset 0px 0px 10px 0px#c4c3c3;
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
#dot {
position: absolute;
border-radius: 100%;
height: 1em;
width: 1em;
background-color:#fff;
border: 2px solid #000;
box-shadow: inset 0px 0px 2px 0px #fff;
z-index: 9999;
}
#hour {
position: absolute;
height: 20%;
border: 1px solid black;
bottom: 50%;
border-radius: 5px;
box-shadow: 0px 1px 8px 1px #848484;
transform-origin: bottom left;
}
#minute {
position: absolute;
height: 40%;
border: 1px solid black;
bottom: 50%;
border-radius: 5px;
box-shadow: 0px 1px 8px 1px #848484;
transform-origin: bottom left;
}
#second {
position: absolute;
height: 30%;
border: 1px solid black;
bottom: 50%;
border-radius: 5px;
box-shadow: 0px 1px 8px 1px #848484;
transform-origin: bottom left;
}
.digital-clock {
margin-top: 10px;
width: 20rem;
height: 5rem;
background: #ffffff;
border: 5px solid #ffffff;
box-shadow: inset 0px 0px 10px 0px#c4c3c3;
display: flex;
font-size: xxx-large;
color: #000000;
overflow: hidden;
}
.digital-clock span {
text-shadow: 0 12px 18px #848484;
}
.display-25 {
flex-direction: row;
width: 25%;
display: flex;
justify-content: center;
align-content: center;
margin: auto;
}