-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
86 lines (81 loc) · 1.72 KB
/
index.html
File metadata and controls
86 lines (81 loc) · 1.72 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!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
For dimensions, see dimensions.png image.
HINT: Remember you can't change the properties of grid lines.
But grid lines are transparent!
*/
.main{
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container{
height: 748px;
width: 748px;
display: grid;
background-color: black;
grid-template:414px 130px 155px 20px/320px 198px 153px auto ;
gap: 9px;
}
.red{
background-color: #E72F24;
}
.white1{
background-color: #F0F1EC;
grid-column:span 3;
}
.white2{
background-color: #f2f2f2;
grid-row: span 2;
}
.white3{
background-color: #f2f2f2;
grid-row: span 2;
grid-column:span 2
}
.blue{
background-color: #002868;
border-bottom: 10px solid black;
}
.white4{
background-color: #f2f2f2;
grid-row: span 2;
}
.white5{
background-color: #f2f2f2;
}
.yellow{
background-color:#F9D01E ;
}
</style>
</head>
<body>
<div class="main">
<div class="container">
<div class="red"></div>
<div class="white1"></div>
<div class="white2"></div>
<div class="white3"></div>
<div class="blue"></div>
<div class="white4"></div>
<div class="white5"></div>
<div class="yellow"></div>
<div class="black"></div>
</div>
</div>
</body>
</html>