forked from kochamkotki/HTML
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflex
More file actions
54 lines (53 loc) · 910 Bytes
/
flex
File metadata and controls
54 lines (53 loc) · 910 Bytes
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
<!DOCTYPE html>
<html>
<head>
<style>
header, footer, .content * {
padding: 1em;
}
.container {
display: flex;
flex-direction: column;
}
header, footer {
flex-basis: 20vh;
background-color: #ff6699;
}
.content {
display: flex;
flex-basis: 60vh;
}
.container div, header, footer {
border:0px solid red;
box-sizing: border-box;
}
.content* {
}
nav, aside {
flex-basis: 20vh;
}
section {
flex-grow: 1;
}
nav {
background-color: #ff1a66;
}
aside {
background-color: #ffb3cc;
}
</style>
</head>
<body>
<div class="container">
<!-- <div class="header"> Header </div> -->
<header> Header </header>
<div class="content">
<section> Treść </section>
<aside> Reklama </aside>
<nav> Menu </nav>
</div>
<!-- <div class="footer"> Footer </div> -->
<footer> Footer </footer>
</div>
</body>
</html>