-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
58 lines (45 loc) · 979 Bytes
/
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
*{
padding: 0;
margin: 0;
}
#container{
width: 95vw;
height: 100vh;
margin: 0 auto;
padding: 10px;
background-color: whitesmoke;
outline: 6px solid blue;
display: grid;
grid-template-columns: [col-start]1fr [col-2]1fr [col-3]1fr [col-end];
gap: 10px;
}
.item1{
grid-column: 1 / 4;
border: 1px solid black;
background-color: green;
}
.item2{
grid-area: 2 / 1 / 3 / 3 ;
border: 1px solid black;
background-color: rgb(93, 93, 139);
}
.item3{
grid-area: 2 / 4 / 4 / 3 ;
border: 1px solid black;
background-color: rgb(93, 93, 139);
}
.item4{
grid-area: 3 / 1 / 5 / 3;
border: 1px solid black;
background-color: rgb(93, 93, 139);
}
.item5{
grid-area: 4 / 4 / 4 / 3;
border: 1px solid black;
background-color: green;
}
.item6{
grid-column: 1 / 4;
border: 1px solid black;
background-color: green;
}