-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
80 lines (67 loc) · 1.34 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
body {
font-family: poppins, arial, helvetica, sans-serif;
background-color: rgb(141, 141, 141);
display: grid;
place-content: center;
min-height: 100vh;
}
#grid-container {
display: grid;
height: 50vw;
width: 50vw;
background-color: white;
gap: 0.5em;
padding: 0.5em;
}
#grid-container>div {
display: grid;
border: 1px solid blue;
border-radius: 0.2em;
place-content: center;
transition-duration: 0.5s;
}
#grid-container>div:nth-child(1) {
grid-column: 1/5;
grid-row: 1/5;
}
#grid-container>div:nth-child(2) {
grid-column: 5/7;
grid-row: 1/3;
}
#grid-container>div:nth-child(3) {
grid-column: 7/9;
grid-row: 1/3;
}
#grid-container>div:nth-child(4) {
grid-column: 5/7;
grid-row: 3/5;
}
#grid-container>div:nth-child(5) {
grid-column: 7/9;
grid-row: 3/5;
}
#grid-container>div:nth-child(6) {
grid-column: 1/3;
grid-row: 5/7;
}
#grid-container>div:nth-child(7) {
grid-column: 3/7;
grid-row: 5/7;
}
#grid-container>div:nth-child(8) {
grid-column: 7/9;
grid-row: 5/9;
}
#grid-container>div:nth-child(9) {
grid-column: 1/5;
grid-row: 7/9;
}
#grid-container>div:nth-child(10) {
grid-column: 5/7;
grid-row: 7/9;
}
#grid-container>div:hover {
background-color: blue;
color: white;
transition-duration: 0.5s;
}