-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
58 lines (53 loc) · 1.09 KB
/
style.css
File metadata and controls
58 lines (53 loc) · 1.09 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 {
background: linear-gradient(135deg, rgba(3, 19, 241, 0.6), rgb(79, 79, 233));
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
}
.clock-face {
position: relative;
width: 300px;
height: 300px;
border: 15px solid white;
border-radius: 50%;
margin: 80px auto;
}
.hand {
transition: all 0.05s;
transition-timing-function: cubic-bezier(0, 1.1, 0.3, 1.32);
transform: rotate(90deg);
border-radius: 50%;
}
.hour {
position: absolute;
top: 50%;
right: 50%;
border: 3px solid rgb(58, 58, 71);
width: 30%;
transform: translateY(-50%);
transform-origin: 50% 100%;
transform-origin: 100%;
z-index: 3;
border-bottom-right-radius: 25%;
border-bottom-left-radius: 25%;
}
.min {
position: absolute;
top: 50%;
right: 50%;
border: 2px solid rgb(77, 74, 228);
width: 35%;
transform: translateY(-50%);
z-index: 2;
transform-origin: 100%;
}
.sec {
position: absolute;
top: 50%;
right: 50%;
border: 1px solid rgb(243, 59, 59);
width: 40%;
transform: translateY(-50%);
z-index: 1;
transform-origin: 100%;
}