-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathflexWrap.html
More file actions
65 lines (62 loc) · 1.9 KB
/
Copy pathflexWrap.html
File metadata and controls
65 lines (62 loc) · 1.9 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Flex-wrap</title>
<link href='https://fonts.googleapis.com/css?family=Josefin Sans' rel='stylesheet'>
<link rel="stylesheet" href="./css/boilerplate.css">
<link rel="stylesheet" href="./css/flexWrap.css">
</head>
<body>
<div class="header">
<h1>Flex With Flexbox</h1>
<p>The flex-wrap property specifies whether the flex items should wrap or not.</p>
</div>
<div class="head-container">
<h3 class="text-center">flex-wrap: nowrap</h3>
<div class="flex-container nowrap">
<div>Item 0</div>
<div>Item 1</div>
<div>Item 2</div>
<div>Item 3</div>
<div>Item 4</div>
<div>Item 5</div>
<div>Item 6</div>
<div>Item 7</div>
<div>Item 8</div>
<div>Item 9</div>
</div>
</div>
<div class="head-container">
<h3 class="text-center">flex-wrap: wrap</h3>
<div class="flex-container wrap">
<div>Item 0</div>
<div>Item 1</div>
<div>Item 2</div>
<div>Item 3</div>
<div>Item 4</div>
<div>Item 5</div>
<div>Item 6</div>
<div>Item 7</div>
<div>Item 8</div>
<div>Item 9</div>
</div>
</div>
<div class="head-container">
<h3 class="text-center">flex-wrap: wrap-reverse</h3>
<div class="flex-container wrap-reverse">
<div>Item 0</div>
<div>Item 1</div>
<div>Item 2</div>
<div>Item 3</div>
<div>Item 4</div>
<div>Item 5</div>
<div>Item 6</div>
<div>Item 7</div>
<div>Item 8</div>
<div>Item 9</div>
</div>
</div>
</body>
</html>