-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
73 lines (59 loc) · 1.56 KB
/
index.html
File metadata and controls
73 lines (59 loc) · 1.56 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
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html>
<head>
<title>Flex Basis</title>
<link href="style.css" type="text/css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono" rel="stylesheet">
</head>
<body>
<h1 class="desc">flex-basis: Set initial size of item along main-axis.</h1>
<h1>No grows</h1>
<div id="no_grows">
<div class="no_grow side">
<h2>flex-basis: 60px;</h2>
</div>
<div class="no_grow center">
<h2>width: 100px;</h2>
</div>
<div class="no_grow side">
<h2>flex-basis: 60px;</h2>
</div>
</div>
<h1>Center Grow 3, Side Grows 1</h1>
<div id="grows">
<div class="grow side">
<h2>flex-basis: 60px;</h2>
</div>
<div class="grow center">
<h2>width: 100px;</h2>
</div>
<div class="grow side">
<h2>flex-basis: 60px;</h2>
</div>
</div>
<h1>No shrinks</h1>
<div id="no_shrinks">
<div class="no_shrink side">
<h2>flex-basis: 300px;</h2>
</div>
<div class="no_shrink center">
<h2>flex-basis: 150px;</h2>
</div>
<div class="no_shrink side">
<h2>flex-basis: 300px;</h2>
</div>
</div>
<h1>Center Shrink 2, Shrink Sides 3</h1>
<div id="shrinks">
<div class="shrink side">
<h2>flex-basis: 300px;</h2>
</div>
<div class="shrink center">
<h2>flex-basis: 150px;</h2>
</div>
<div class="shrink side">
<h2>flex-basis: 300px;</h2>
</div>
</div>
</body>
</html>