-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
85 lines (68 loc) · 1.43 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
85
<!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>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
padding: 0;
}
.container{
display: grid;
height: 748px;
width: 748px;
background-color: black;
grid-template-columns: 320px 198px 153px 50px;
grid-template-rows: 414px 130px 155px 22px;
gap: 9px;
}
.item{
background-color:#F0F1EC ;
}
.red {
background-color: #E72F24;
}
.white1 {
grid-column: span 3;
}
.white2 {
grid-row: span 2;
}
.white3 {
grid-area: 2 / 2 / 4 /4
}
.blue {
background-color: #004592;
border-bottom: 10px solid #000;
}
.white4 {
grid-row: span 2;
}
.yellow {
background-color: #F9D01E;
}
.black {
background-color: #232629;
}
</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>
</div>
</body>
</html>