-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathclock.css
More file actions
90 lines (90 loc) · 1.72 KB
/
clock.css
File metadata and controls
90 lines (90 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body{
display: grid;
align-items: center;
justify-items: center;
min-height: 100vh;
background-color: rgb(1, 24, 39);
}
#time{
display: flex;
gap: 40px;
color: azure;
}
#time .circle{
position: relative;
display: flex;
align-items: center;
justify-content: center;
height: 150px;
width: 150px;
}
#time .circle svg{
position: relative;
height: 150px;
width: 150px;
transform: rotate(270deg);
}
#time .circle svg circle{
width: 100%;
height: 100%;
fill: transparent;
stroke: aqua;
stroke-width: 5;
transform: translate(5px,5px);
}
#time .circle svg circle:nth-child(2){
stroke: var(--clr);
stroke-dasharray: 440;
}
#time div{
display: grid;
position: absolute;
text-align: center;
font-weight: 550;
font-size: 1.5em;
}
#time div span{
position: absolute;
transform: translateX(-50%) translateY(-10);
font-size: 0.35em;
font-weight: 500;
letter-spacing: 0.1em;
}
#time .ap{
position: relative;
font-size: 1em;
transform: translateX(-20px);
}
#time div span{
position: absolute;
transform: translateX(-50%) translateY(-50%);
font-size: 0.35em;
font-weight: 500;
letter-spacing: 0.1em;
text-transform: uppercase;
}
.dots{
position: absolute;
width: 100%;
height: 100%;
z-index: 10;
display: flex;
justify-content: center;
}
.dots::before{
content: '';
position: absolute;
top: -2px;
right: 66px;
width: 15px;
height: 15px;
background: var(--clr);
border-radius: 50%;
box-shadow: 0 0 20px var(--clr),0 0 60px var(--clr);
}