-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
116 lines (95 loc) · 1.85 KB
/
styles.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
main{
height: 100vh;
width: 100dvw;
position: relative;
}
body {
background: linear-gradient(-90deg, #b4005169, #0502006b), url(https://img.freepik.com/premium-photo/hourglass-with-glowing-sand-background-wallpaper_492154-7788.jpg);
background-size: 400% 400%;
animation: gradient 10s ease infinite;
height: 100vh;
background-size: cover;
background-position: center;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.clock {
position: relative;
width: 250px;
height: 250px;
border: 2px solid #333;
border-radius: 50%;
margin: 0 auto;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
top: 150px;
background-image: url(https://png.pngtree.com/png-clipart/20221227/ourmid/pngtree-clock-no-hands-roboto-font-png-image_6538806.png);
background-size: cover;
background-position: center;
background-color: white;
}
.hand {
position: absolute;
width: 2px;
height: 100px;
background-color: #333;
top: 15%;
left: 50%;
transform-origin: 50% 100%;
transform: translateX(-50%) rotate(0deg);
}
#secHand{
border: solid red;
height: 90px;
}
#hrHand{
height: 80px;
border: solid green;
position: absolute;
top: 20%;
}
#minHand{
height: 80px;
top: 20%;
}
#cir{
width: 15px;
height: 15px;
background-color: black;
border-radius: 50%;
position: absolute;
left: 50%;
top: 48%;
}
.j{
position: absolute;
top: 60%;
left: 35%;
}
.footer{
position: relative;
left: 50%;
transform: translateX(-50%);
font-size: 14px;
margin-top: 100px;
}
.footer p{
padding-top: 250px;
color: #c9c3c3;
}
strong{
color: #fff;
}