-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
61 lines (55 loc) · 1.23 KB
/
style.css
File metadata and controls
61 lines (55 loc) · 1.23 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
body{
margin: 0;
font-family: sans-serif;
display: flex;
flex-direction: column;
align-items: center; /* to bring every thing to centre vertically */
height: 100vh;
justify-content: center;
background: url("https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxzZWFyY2h8NHx8bmF0dXJlfGVufDB8fDB8fA%3D%3D&auto=format&fit=crop&w=500&q=60");
background-size: cover;
overflow: hidden;
}
h2{
text-transform: uppercase;
letter-spacing: 8px;
font-size: 60px;
text-align: center;
color: antiquewhite;
}
.clock{
display: flex;
position: relative;
}
.clock div{
margin: 5px;
position: relative;
}
.clock span{
width: 200px;
height: 150px;
background:grey ;
opacity: 0.7;
color: antiquewhite;
display: flex;
justify-content: center;
align-items: center;
font-size: 60px;
text-shadow: 3px 3px 3px rgb(0, 0, 0);
}
.clock .text{
height: 100px;
font-size: 40px;
text-transform: uppercase;
letter-spacing: 2px;
background:darkgray;
opacity: 0.8;
}
.clock #ampm{
bottom: 0;
position: absolute;
width: auto;
height: auto;
font-size: 50px;
background: rebeccapurple;
}