-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstatic_page.html
More file actions
45 lines (43 loc) · 1.12 KB
/
Copy pathstatic_page.html
File metadata and controls
45 lines (43 loc) · 1.12 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
<!DOCTYPE html>
<html lan="eng">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width,initial-scale=.0"/>
<title>Staic web page structure</title>
<style>
.card{
border:2px solid grey;
display:grid;
grid-template-areas:
'h h h'
'c c a'
'f f f';
grid-gap:5px;
}
.web{
background-color:aqua;
border:1px solid black;
}
.item1{
grid-area:h;
}
.item2{
grid-area:c;
}
.item3{
grid-area:a;
}
.item4{
grid-area:f;
}
</style>
</head>
<body>
<div class="card">
<div class="web item1">Header</div>
<div class="web item2">content</div>
<div class="web item3">ads</div>
<div class="web item4">footer</div>
</div>
</body>
</html>