-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanalog.css
More file actions
63 lines (61 loc) · 1.11 KB
/
analog.css
File metadata and controls
63 lines (61 loc) · 1.11 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
body{
background-color:white;
margin: auto;
}
#analogcontainer{
position: relative;
margin: auto;
height: 34vw;
width: 32vw;
background: url(analog.jpg) no-repeat;
background-size: 100%;
}
#hour, #minute, #second{
position: absolute;
background-color: black;
border-radius: 10px;
transform-origin: bottom;
}
#hour{
width: 1.5%;
height: 26%;
top: 26%;
left: 49%;
opacity: 0.8;
}
#minute{
width: 1%;
height: 31.6%;
top: 20.1%;
left: 49%;
opacity: 0.8;
}
#second{
width: 0.8%;
height: 39%;
top: 13%;
left: 49.19%;
opacity: 0.8;
}
.buttons{
width: 90%;
margin: 60px auto 0 auto;
display: flex;
justify-content: space-around;
}
.buttons button{
position: relative;
padding: 20px 20px;
background-color:lightskyblue;
color: #141313;
border: none;
font-family: 'Poppins',sans-serif;
font-size: 18px;
border-radius: 5px;
cursor: pointer;
outline: none;
}
button:hover{
background-color:red;
color: white;
}