-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
58 lines (44 loc) · 1.29 KB
/
style.css
File metadata and controls
58 lines (44 loc) · 1.29 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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
background: #ec008c; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #fc6767, #ec008c); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #fc6767, #ec008c); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
display: flex;
height: 100vh;
width: 100vw;
align-items: center;
justify-content: center;
flex-direction: row;
}
.digital-clock {
display: flex;
width: 90vw;
height: auto;
justify-content: space-around;
align-items: center;
/* border: 2px solid black; */
/* Box Shadow */
box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
border-radius: 7px;
background-color: #c7e9fb;
background-image: linear-gradient(315deg, #c7e9fb 0%, #e61d8c 74%);
}
.digital-clock div {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: white;
font-size: 2rem;
background-color: black;
height: 25vh;
width: 20vw;
margin: 0.8rem;
border-radius: 10px;
/* Box Shadow */
box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}