-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathstyle.css
More file actions
64 lines (57 loc) · 1.09 KB
/
style.css
File metadata and controls
64 lines (57 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
59
60
61
62
63
64
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
html {
place-items: center;
}
body {
font-family: monospace;
font-size: 2rem;
min-height: 100vh;
display: grid;
overflow-y: hidden;
place-items: center;
background: linear-gradient(-45deg, #c4d2ef, #dfe6f6);
}
.hr,
.min,
.sec {
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 3rem;
grid-row: 1/2;
align-items: start;
}
.number {
padding: 0.5em;
width: 4rem;
height: 4rem;
display: grid;
place-items: center;
color: #f9fbfd;
transition: all 500ms 100ms ease;
border-radius: 50%;
}
.number.pop {
color: #3e6ccb;
font-weight: bold;
transform: scale(1.3);
background-color: #dfe6f6;
box-shadow: -10px -10px 20px -5px #f9fbfd, 10px 10px 20px #a9bee8;
}
.strip {
transition: transform 500ms ease-in-out;
border-radius: 8px;
background-color: #dfe6f6;
box-shadow: -10px -10px 20px -5px #f9fbfd, 10px 10px 20px #a9bee8;
}
.clock {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 5rem;
height: 4rem;
position: relative;
padding: 0 4rem;
}