-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtut35.html
75 lines (64 loc) · 1.94 KB
/
tut35.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.container
{
height: 550px;
/* height: auto; */
width:100%;
border: 2px solid black;
display: flex;
/*Default value for felx direction is row*/
/* flex-direction: row; */
/* flex-direction: column; */
/* flex-direction: row-reverse; */
/* flex-direction: column-reverse; */
/* flex-wrap: wrap; */
/* flex-wrap: wrap-reverse; */
/* flex-flow: row-reverse wrap; */
/* justify-content: center; */
/* justify-content: space-between; */
/* justify-content: space-around; */
/* justify-content: space-evenly; */
/* align-items: center; */
/* align-items: flex-end; */
/* align-items: flex-start; */
/* align-items: stretch; */
}
.items{
background-color: #76D7C4;
margin: 3px;
padding: 2px;
height: 200px;
width: 200px;
}
#item1
{
/* order: 2; */
}
#item2{
/* order: 3; */
/* flex-grow: 3; */
/* flex-shrink: 3; */
}
/*
#item5
{
order:10;
} */
</style>
</head>
<body>
<div class="container">
<div class="items" id="item1">First Box</div>
<div class="items" id="item2">Second Box</div>
<div class="items" id="item3">Third Box</div>
<!-- <div class="items" id="item4">Fourth box</div>
<div class="items" id="item5">Fifth Box</div> -->
</div>
</body>
</html>