-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
59 lines (53 loc) · 1.04 KB
/
style.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
body{
font-family: sans-serif;
margin: 0;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: url("https://images.unsplash.com/photo-1503264116251-35a269479413?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80");
background-size: cover;
overflow: hidden;
}
h2{
text-transform: uppercase;
letter-spacing: 4px;
font-size: 26px;
text-align: center;
color: white;
}
.clock{
display: flex;
position: relative;
}
.clock div {
margin: 5px;
}
.clock span {
display: flex;
width: 100px;
height: 80px;
background-color: rgb(67, 67, 170);
opacity: .8;
color: white;
align-items: center;
justify-content: center;
font-size: 50px;
}
.clock .text {
height: 30px;
font-size: 10px;
text-transform: uppercase;
background-color: darkblue;
opacity: .8;
}
.clock #am-pm {
bottom: 0;
position: absolute;
width: 60px;
height: 30px;
font-size: 20px;
background-color: black;
margin-bottom: 4px;
}