forked from codemistic/Web-Development
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
58 lines (53 loc) · 1.07 KB
/
styles.css
File metadata and controls
58 lines (53 loc) · 1.07 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
body{
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: rgb(43,43,43);
}
.clock{
position: absolute;
height: 300px;
width: 300px;
border-radius: 150px;
border: solid 5px rgb(252, 255, 55);
}
.seconds-hand{
position: absolute;
height: 130px;
width: 2px;
background-color: rgb(70, 255 ,255);
left: 149px;
bottom: 149px;
opacity: 50%;
transform-origin: 0% 100%;
}
.minutes-hand{
position: absolute;
height: 140px;
width: 4px;
background-color: blanchedalmond;
left: 148px;
bottom: 148px;
opacity: 30%;
transform-origin: 0% 100%;
}
.hours-hand{
position: absolute;
height: 80px;
width: 5px;
background-color: royalblue;
left: 147.5px;
bottom: 147.5px;
opacity: 30%;
transform-origin: 0% 100%;
}
.center{
height: 10px;
width: 10px;
border-radius: 5px;
position: absolute;
left: 145px;
bottom: 145px;
background-color: blueviolet;
}