-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrid.css
56 lines (50 loc) · 773 Bytes
/
grid.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
* {
margin: 0;
padding: 0;
}
body {
background-color: rgb(34, 31, 31);
}
#con {
background-color: #181825;
color: white;
padding: 50px;
width: 50%;
margin-top: 70px;
margin-left: 250px;
justify-self:center;
}
main {
display: grid;
grid-template-areas:
'a a b'
'c d d'
'c e e'
;
grid-template-rows: 200px 100px 100px;
gap: 15px;
}
main div{
padding: 2em;
text-align: center;
}
#a {
background-color: orangered;
grid-area: a;
}
#b {
background-color: orange;
grid-area: b;
}
#c {
background-color: rgb(83, 167, 83);
grid-area: c;
}
#d {
background-color: rgb(52, 154, 201);
grid-area: d;
}
#e {
background-color: rgb(52, 154, 201);
grid-area: e;
}