forked from randyviandaputra/learn-flexbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flexwrap.html
executable file
·34 lines (29 loc) · 1.15 KB
/
flexwrap.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
<html>
<head>
<title>Flexbox Grids</title>
<link rel="stylesheet" href="css/showcase.css">
<link rel="stylesheet" href="css/flexwrap.css">
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300" rel="stylesheet">
</head>
<body>
<h2>Property: <code>flex-wrap</code></h2>
<code>flex-wrap: nowrap;</code>
<div class="nowrap container outlined">
<div>1</div> <div>2</div> <div>3</div> <div>4</div>
<div>5</div> <div>6</div> <div>7</div> <div>8</div>
<div>9</div> <div>10</div> <div>11</div> <div>12</div>
</div>
<code>flex-wrap: wrap;</code>
<div class="wrap container outlined">
<div>1</div> <div>2</div> <div>3</div> <div>4</div>
<div>5</div> <div>6</div> <div>7</div> <div>8</div>
<div>9</div> <div>10</div> <div>11</div> <div>12</div>
</div>
<code>flex-wrap: wrap-reverse;</code>
<div class="wrap-reverse container outlined">
<div>1</div> <div>2</div> <div>3</div> <div>4</div>
<div>5</div> <div>6</div> <div>7</div> <div>8</div>
<div>9</div> <div>10</div> <div>11</div> <div>12</div>
</div>
</body>
</html>