-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
81 lines (68 loc) · 1.34 KB
/
style.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
78
79
80
* {
padding: 0;
margin: 0;
}
nav {
text-align: center;
}
nav h1 {
font-size: 60px;
font-family: "Playfair Display", serif;
font-optical-sizing: auto;
font-weight: 700px;
font-style: normal;
}
.main {
display: flex;
align-items: center;
width: 300px;
height: 300px;
border-radius: 100px;
margin: 20vh auto;
position: relative;
}
#hours {
width: 7px;
height: 46px;
background-color: black;
position: relative;
left: -135px;
top: -29px;
border-radius: 10px;
clip-path: polygon(34% 0%, 75% 0%, 100% 100%, 0% 100%);
transform-origin: bottom left;
transform: rotate(0deg);
}
#minutes {
width: 7px;
height: 73px;
background-color: black;
position: relative;
left: -144px;
top: -44px;
border-radius: 10px;
clip-path: polygon(34% 0%, 75% 0%, 100% 100%, 0% 100%);
transform-origin: bottom left;
transform: rotate(0deg);
}
#seconds {
width: 4px;
height: 78px;
background-color: black;
position: relative;
left: -152px;
top: -44px;
border-radius: 10px;
clip-path: polygon(34% 0%, 75% 0%, 100% 100%, 0% 100%);
transform-origin: bottom left;
transform: rotate(0deg);
}
#dot {
height: 12px;
width: 12px;
border-radius: 50px;
background-color: black;
position: relative;
left: -158px;
top: -5px;
}