-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgrid.css
More file actions
63 lines (62 loc) · 1.01 KB
/
grid.css
File metadata and controls
63 lines (62 loc) · 1.01 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
* {
margin: 0;
padding: 0;
}
/* container CSS setup */
.container {
background-image: linear-gradient(to right, #37f713, #396b9c);
border: 2px solid rgb(0, 0, 0);
border-radius: 35%;
height: 500px;
width: 500px;
margin: 10%;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
}
/* date and time css setup */
.watch-time,
.watch-date {
font-family: "Sriracha", cursive;
font-size: 25px;
font-weight: 900;
padding: 10px;
margin: 10px;
}
/* individual css setup */
.hour,
.minute,
.second,
.date,
.day {
height: 50px;
width: 150px;
border: 1px solid red;
text-align: center;
width: 30vw;
}
/* grid setup for date*/
.watch-date {
grid-template-rows: "hour minute second ";
}
/* grid setup for individual selectors */
.hour {
grid-area: hour;
}
.minute {
grid-area: minute;
}
.second {
grid-area: second;
}
/* grid setup for time */
.watch-time {
}
/* grid setup for individual selectors */
.date {
grid-area: date;
}
.day {
grid-area: day;
}