-
Notifications
You must be signed in to change notification settings - Fork 1
/
grid.html
356 lines (353 loc) · 14.3 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
<!DOCTYPE html>
<!--[if lt IE 7]> <html lang="en" dir="ltr" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html lang="en" dir="ltr" class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html lang="en" dir="ltr" class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="en" dir="ltr" class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="HandheldFriendly" content="true" />
<title>Yetti Framework Grid example</title>
<link rel="shortcut icon" href="static/icons/favicon.ico">
<link rel="apple-touch-icon" href="static/icons/apple-touch-icon.png">
<!--[if lt IE 9]>
<link rel="stylesheet" href="static/css/yetti-grid-lt-ie9.css">
<![endif]-->
<link rel="stylesheet" href="static/css/globals.css">
<link rel="stylesheet" href="static/css/custom.css">
<script src="static/js/vendor/modernizr-2.6.2.min.js"></script>
</head>
<body class="demo">
<div class="full">
<div class="container">
<header class="row">
<h1 class="twelve-col">Yetti Framework Grid example</h1>
</header>
<div class="row">
<div class="col one-col">
1
</div>
<div class="col eleven-col">
11
</div>
</div>
<div class="row">
<div class="col two-col">
2
</div>
<div class="col ten-col">
10
</div>
</div>
<div class="row">
<div class="col three-col">
3
</div>
<div class="col nine-col">
9
</div>
</div>
<div class="row">
<div class="col four-col">
4
</div>
<div class="col eight-col">
8
</div>
</div>
<div class="row">
<div class="col five-col">
5
</div>
<div class="col seven-col">
7
</div>
</div>
<div class="row">
<div class="col six-col">
6
</div>
<div class="col six-col">
6
</div>
</div>
<div class="row">
<div class="col seven-col">
7
</div>
<div class="col five-col">
5
</div>
</div>
<div class="row">
<div class="col eight-col">
8
</div>
<div class="col four-col">
4
</div>
</div>
<div class="row">
<div class="col nine-col">
9
</div>
<div class="col three-col">
3
</div>
</div>
<div class="row">
<div class="col ten-col">
10
</div>
<div class="col two-col">
2
</div>
</div>
<div class="row">
<div class="col eleven-col">
11
</div>
<div class="col one-col">
1
</div>
</div>
</div>
<div class="container">
<div class="row">
<h2 class="twelve-col">Offset Space</h2>
</div>
<div class="row">
<div class="col one-col offset-eleven">
11 + 1
</div>
</div>
<div class="row">
<div class="col two-col offset-ten">
10 + 2
</div>
</div>
<div class="row">
<div class="col three-col offset-nine">
9 + 3
</div>
</div>
<div class="row">
<div class="col four-col offset-eight">
8 + 4
</div>
</div>
<div class="row">
<div class="col five-col offset-seven">
7 + 5
</div>
</div>
<div class="row">
<div class="col six-col offset-six">
6 + 6
</div>
</div>
<div class="row">
<div class="col seven-col offset-five">
5 + 7
</div>
</div>
<div class="row">
<div class="col eight-col offset-four">
4 + 8
</div>
</div>
<div class="row">
<div class="col nine-col offset-three">
3 + 9
</div>
</div>
<div class="row">
<div class="col ten-col offset-two">
2 + 10
</div>
</div>
<div class="row">
<div class="col eleven-col offset-one">
1 + 11
</div>
</div>
</div>
<div class="container">
<div class="row">
<h2 class="twelve-col">Pull & Push Space</h2>
</div>
<div class="row">
<div class="col eleven-col push-one">
11 + 1
</div>
<div class="col one-col pull-eleven">
1 - 11
</div>
</div>
<div class="row">
<div class="col ten-col push-two">
10 + 2
</div>
<div class="col two-col pull-ten">
2 - 10
</div>
</div>
<div class="row">
<div class="col nine-col push-three">
9 + 3
</div>
<div class="col three-col pull-nine">
3 - 9
</div>
</div>
<div class="row">
<div class="col eight-col push-four">
8 + 4
</div>
<div class="col four-col pull-eight">
4 - 8
</div>
</div>
<div class="row">
<div class="col seven-col push-five">
7 + 5
</div>
<div class="col five-col pull-seven">
5 - 7
</div>
</div>
<div class="row">
<div class="col six-col push-six">
6 + 6
</div>
<div class="col six-col pull-six">
6 - 6
</div>
</div>
<div class="row">
<div class="col five-col push-seven">
5 + 7
</div>
<div class="col seven-col pull-five">
7 - 5
</div>
</div>
<div class="row">
<div class="col four-col push-eight">
4 + 8
</div>
<div class="col eight-col pull-four">
8 - 4
</div>
</div>
<div class="row">
<div class="col three-col push-nine">
3 + 9
</div>
<div class="col nine-col pull-three">
9 - 3
</div>
</div>
<div class="row">
<div class="col two-col push-ten">
2 + 10
</div>
<div class="col ten-col pull-two">
10 - 2
</div>
</div>
<div class="row">
<div class="col one-col push-eleven">
1 + 11
</div>
<div class="col eleven-col pull-one">
11 - 1
</div>
</div>
<div class="row">
<div class="row">
<h2 class="twelve-col">Generic Widths</h2>
</div>
<div class="half a">
Half
</div>
<div class="half b">
Half
</div>
</div>
<div class="row">
<div class="third a">
Third
</div>
<div class="third b">
Third
</div>
<div class="third a">
Third
</div>
</div>
<div class="row">
<div class="quarter a">
Quarter
</div>
<div class="quarter b">
Quarter
</div>
<div class="quarter a">
Quarter
</div>
<div class="quarter b">
Quarter
</div>
</div>
<div class="row">
<div class="fifth a">
Fifth
</div>
<div class="fifth b">
Fifth
</div>
<div class="fifth a">
Fifth
</div>
<div class="fifth b">
Fifth
</div>
<div class="fifth a">
Fifth
</div>
</div>
<div class="row">
<div class="third a">Third</div>
<div class="two-third b">Two Third</div>
</div>
<div class="row">
<div class="quarter a">Quarter</div>
<div class="three-quarter b">Three Quarter</div>
</div>
<div class="row">
<div class="two-fifth a">Two Fifth</div>
<div class="three-fifth b">Three Fifth</div>
</div>
<div class="row">
<div class="fifth a">Fifth</div>
<div class="four-fifth b">Four Fifth</div>
</div>
</div>
</div>
<!-- Load all required javascript -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="static/js/vendor/jquery-1.9.1.min.js"><\/script>')</script>
<script src="static/js/load.js"></script>
<script src="static/js/custom.js"></script>
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
<script>
var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
</body>
</html>