forked from ashvin777/framework7.angular
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrid.html
executable file
·138 lines (137 loc) · 4.91 KB
/
grid.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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<div data-page="grid" class="page">
<div class="navbar">
<div class="navbar-inner">
<div class="left"><a href="index.html" class="back link icon-only"><i class="icon icon-back"></i></a></div>
<div class="center">Grid</div>
<div class="right"><a href="#" class="link open-panel icon-only"><i class="icon icon-bars"></i></a></div>
</div>
</div>
<div class="page-content">
<div class="content-block">
<p>Framework7 comes with flexible layout grid:</p>
</div>
<div class="ks-grid">
<div class="content-block-title">Columns with gutter</div>
<div class="content-block">
<div class="row">
<div class="col-50">.col-50</div>
<div class="col-50">.col-50</div>
</div>
<div class="row">
<div class="col-25">.col-25</div>
<div class="col-25">.col-25</div>
<div class="col-25">.col-25</div>
<div class="col-25">.col-25</div>
</div>
<div class="row">
<div class="col-33">.col-33</div>
<div class="col-33">.col-33</div>
<div class="col-33">.col-33</div>
</div>
<div class="row">
<div class="col-20">.col-20</div>
<div class="col-20">.col-20</div>
<div class="col-20">.col-20</div>
<div class="col-20">.col-20</div>
<div class="col-20">.col-20</div>
</div>
<div class="row">
<div class="col-33">.col-33</div>
<div class="col-66">.col-66</div>
</div>
<div class="row">
<div class="col-25">.col-25</div>
<div class="col-25">.col-25</div>
<div class="col-50">.col-50</div>
</div>
<div class="row">
<div class="col-75">.col-75</div>
<div class="col-25">.col-25</div>
</div>
<div class="row">
<div class="col-80">.col-80</div>
<div class="col-20">.col-20</div>
</div>
</div>
<div class="content-block-title">No gutter between columns</div>
<div class="content-block">
<div class="row no-gutter">
<div class="col-50">.col-50</div>
<div class="col-50">.col-50</div>
</div>
<div class="row no-gutter">
<div class="col-25">.col-25</div>
<div class="col-25">.col-25</div>
<div class="col-25">.col-25</div>
<div class="col-25">.col-25</div>
</div>
<div class="row no-gutter">
<div class="col-33">.col-33</div>
<div class="col-33">.col-33</div>
<div class="col-33">.col-33</div>
</div>
<div class="row no-gutter">
<div class="col-20">.col-20</div>
<div class="col-20">.col-20</div>
<div class="col-20">.col-20</div>
<div class="col-20">.col-20</div>
<div class="col-20">.col-20</div>
</div>
<div class="row no-gutter">
<div class="col-33">.col-33</div>
<div class="col-66">.col-66</div>
</div>
<div class="row no-gutter">
<div class="col-25">.col-25</div>
<div class="col-25">.col-25</div>
<div class="col-50">.col-50</div>
</div>
<div class="row no-gutter">
<div class="col-75">.col-75</div>
<div class="col-25">.col-25</div>
</div>
<div class="row no-gutter">
<div class="col-80">.col-80</div>
<div class="col-20">.col-20</div>
</div>
</div>
<div class="content-block-title">Nested</div>
<div class="content-block">
<div class="row">
<div class="col-50">.col-50
<div class="row">
<div class="col-50">.col-50</div>
<div class="col-50">.col-50</div>
</div>
</div>
<div class="col-50">.col-50
<div class="row">
<div class="col-33">.col-33</div>
<div class="col-66">.col-66</div>
</div>
</div>
</div>
</div>
<div class="content-block-title">Responsive Grid</div>
<div class="content-block">
<p>Grid cells have different size on Phone/Tablet</p>
<div class="row">
<div class="col-100 tablet-50">.col-100.tablet-50</div>
<div class="col-100 tablet-50">.col-100.tablet-50</div>
</div>
<div class="row">
<div class="col-50 tablet-25">.col-50.tablet-25</div>
<div class="col-50 tablet-25">.col-50.tablet-25</div>
<div class="col-50 tablet-25">.col-50.tablet-25</div>
<div class="col-50 tablet-25">.col-50.tablet-25</div>
</div>
<div class="row">
<div class="col-100 tablet-40">.col-100.tablet-40</div>
<div class="col-50 tablet-60">.col-50.tablet-60</div>
<div class="col-50 tablet-66">.col-50.tablet-66</div>
<div class="col-100 tablet-33">.col-100.tablet-33</div>
</div>
</div>
</div>
</div>
</div>