-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (69 loc) · 1.51 KB
/
index.html
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
81
82
83
84
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mondrian Project</title>
<style>
/*
Write your CSS here
Gap Colour: #000
White: #F0F1EC
Red: #E72F24
Black: #232629
Blue: #004592
Yellow: #F9D01E
*/
.container{
height:800px;
width: 800px;
display: grid;
gap: 10px;
grid-template-columns: 360px 122px 212px 167px;
grid-template-rows: 200px 294px 166px 110px ;
border: 10px solid;
}
.item{
background-color: white;
border: 10px solid;
}
.red{
background-color: rgb(255, 148, 148);
border: 10px solid;
}
.yellow{
background-color: rgb(251, 251, 163);
border: 10px solid;
}
.blue{
background-color: rgb(108, 108, 254);
border-bottom: 10px solid;
border: 10px solid;
}
.white2{
grid-row: span 2;
border: 10px solid;
}
.white1{
grid-column: span 3;
border: 10px solid;
}
.white3{
grid-area: 2/2/4/4;
border: 10px solid;
}
</style>
</head>
<body>
<div class="container">
<div class="item red"></div>
<div class="item white1"></div>
<div class="item white2"></div>
<div class="item white3"></div>
<div class="item blue"></div>
<div class="item white4"></div>
<div class="item"></div>
<div class="item yellow"></div>
<div class="item black"></div>
</body>
</html>