-
Notifications
You must be signed in to change notification settings - Fork 0
/
Flexbox.html
70 lines (50 loc) · 1.79 KB
/
Flexbox.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Flexbox </title>
<style>
.FlexContainer{
border: 3px solid black;
}
.FlexWrapper{
border: 3px solid red;
}
.SectionFirst{
border: 3px solid green;
}
.SectionSecond{
border: 3px solid blue;
}
.SectionThird{
border: 3px solid rgb(255, 217, 0);
}
section{
width: 20rem;
height: 10rem;
}
</style>
</head>
<body>
<div class="FlexContainer">
<h2>Lorem, ipsum dolor.</h2>
<div class="FlexWrapper">
<section class="SectionFirst">
<!-- <p>
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Temporibus nemo distinctio suscipit. Quidem voluptatem vel expedita in beatae iusto assumenda?
</p> -->
</section>
<section class="SectionSecond">
<!-- <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptates voluptatem impedit alias laborum voluptate aperiam dolorem sequi nemo dolore facilis Lorem, ipsum dolor sit amet consectetur adipisicing elit. Quasi, nulla?!
</p> -->
</section>
<section class="SectionThird">
<!-- <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laboriosam odit ratione repellendus aliquid, fugit eos excepturi? Iusto libero neque modi.
</p> -->
</section>
</div>
</div>
</body>
</html>