-
Notifications
You must be signed in to change notification settings - Fork 1
/
flexbox-position.html
117 lines (108 loc) · 3.77 KB
/
flexbox-position.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!doctype html>
<html lang="en" dir="ltr">
<head>
<link rel="stylesheet" href="css.css">
<script type="text/javascript" src="jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="js.js"></script>
</head>
<body>
<main class="wrapper">
<header class="header">CSS Flexible Box Layout Module</header>
<article class="main">
<ul class="flex-container">
<li class="flex-item" contenteditable>1</li>
<li class="flex-item" contenteditable>2</li>
<li class="flex-item" contenteditable>3-large Div</li>
<li class="flex-item" contenteditable>4</li>
<li class="flex-item" contenteditable>5</li>
<li class="flex-item" contenteditable>6</li>
</ul>
</article>
<aside class="aside aside-1">
<div class="aside-item">
<span class="aside-title">Display:</span>
<select id="flexDisplay">
<option value="flex">flex (default)</option>
<option value="inline-flex">inline-flex</option>
</select>
</div>
<div class="aside-item">
<span class="aside-title">flex direction:</span>
<select id="flexDirection">
<option value="row">row (default)</option>
<option value="row-reverse">row-reverse</option>
<option value="column">column</option>
<option value="column-reverse">column-reverse</option>
</select>
</div>
<div class="aside-item">
<span class="aside-title">flex wrap:</span>
<select id="flexWrap">
<option value="nowrap">nowrap (default)</option>
<option value="wrap">wrap</option>
<option value="wrap-reverse">wrap-reverse</option>
</select>
</div>
<div class="aside-item">
<span class="aside-title">justify content</span>
<select id="justifyContent">
<option value="flex-start">flex-start (default)</option>
<option value="flex-end">flex-end</option>
<option value="center">center</option>
<option value="space-around">space-around</option>
<option value="space-between">space-between</option>
</select>
</div>
<div class="aside-item">
<span class="aside-title">align items:</span>
<select id="alignItems">
<option value="stretch">stretch (default)</option>
<option value="flex-start">flex-start </option>
<option value="flex-end">flex-end</option>
<option value="center">center</option>
<option value="baseline">baseline</option>
</select>
</div>
<div class="aside-item">
<span class="aside-title">align content:</span>
<select id="alignContent">
<option value="flex-start">flex-start (default)</option>
<option value="flex-end">flex-end</option>
<option value="center">center</option>
<option value="space-around">space-around</option>
<option value="space-between">space-between</option>
<option value="stretch">stretch</option>
</select>
</div>
<div class="aside-item">
<span class="aside-title">align self:</span>
<select name="" id="flexOrderItem" class="alignself-select1">
<option value=""></option>
</select>
<select name="" id="alignSelf" class="alignself-select">
<option value="">auto</option>
<option value="flex-start">flex-start</option>
<option value="flex-end">flex-end</option>
<option value="center">center</option>
<option value="baseline">baseline</option>
<option value="stretch">stretch</option>
</select>
</div>
<div style="opacity:0">dfghdtytfry</div>
<div class="aside-item">
<span class="aside-title">flex item</span>
<a class="square minus">-</a>
<a class="square add">+</a>
</div>
<br>
<pre>
<code id="demo_styles">
</code>
</pre>
</aside>
<!--<aside class="aside aside-2">
</aside>-->
<footer class="footer"></footer>
</main>
</body>
</html>