-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
372 lines (312 loc) · 11.3 KB
/
index.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
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
<!doctype html>
<head>
<meta charset="utf-8">
<title>Metal - Responsive Design CSS Grid</title>
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="normalize.css">
<link rel="stylesheet" href="grid.css">
<link rel="stylesheet" href="site.css">
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-28953049-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<div class="container">
<div class="row">
<div class="twelveCol">
<h1>METAL V0.2.3 - Responsive CSS Grid</h1>
<h2>FAST RESPONSIVE WEBSITES</h2>
</div>
</div>
<div class="row">
<div class="fourCol">
<h3>Search</h3>
<form>
<input type="text" placeholder="Search">
<button type="submit">Search</button>
</form>
</div>
<div class="fourCol">
<h3>Search</h3>
</div>
<div class="fourCol">
<h3>Search</h3>
</div>
</div>
<div class="row">
<div class="sixCol">
<p>Metal Grid is another responsive CSS grid that hopes to be easy to use and hopefully grow with help from the community.</p>
<p>It is my intention to use this grid for building responsive sites really fast. For now the grid.css is under ~6Kb uncompressed and was build so it's easily modifiable by you.</p>
<p>The grid was inspired mostly by two of the well known CSS grids:</p>
<ul>
<li><a href="http://goldengridsystem.com" target="_blank">Golden Grid System</a></li>
<li><a href="http://cssgrid.net" target="_blank">1140 CSS Grid</a></li>
</ul>
</div>
<div class="sixCol">
<p>Unfortunately there is no way(that I know) to build a semantically correct grid so please take the code and use to build your own CSS structure.</p>
<p>Kudos to all people and resources that inspired me, one way or the other:</p>
<ul>
<li><a href="http://necolas.github.com/normalize.css/" target="_blank">Normalize.css</a></li>
<li><a href="http://css-tricks.com/" target="_blank">CSS Tricks</a></li>
<li><a href="http://html5boilerplate.com/" target="_blank">HTML5 BOILERPLATE</a></li>
</ul></p>
</div>
</div>
<div class="row">
<div class="twelveCol">
<h1>Features</h1>
</div>
</div>
<div class="row">
<div class="fourCol">
<h3>Simple to use</h3>
<p>Just make sure you understand the class system and how they are resized based on the screen resolution.</p>
<p>Go ahead, resize the browser.</p>
</div>
<div class="fourCol">
<h3>Easily configurable</h3>
<p>You can easily configure the columns widths based on the screen resolution. Just check the @media screen code in the grid.css file.</p>
<p>View <a href="https://github.com/Cipa/Metal-CSS-Grid/blob/master/grid.css" target="_blank">grid.css</a></p>
</div>
<div class="fourCol">
<h3>Morph un-equal columns</h3>
<p>More flexibility added by using un-equal columns. The columns can be easily configured to morph from one size to another.</p>
<p>Resize the browser and check the last 5 rows of the demo</p>
</div>
<div class="fourCol">
<h3>Resize steps</h3>
<p>Easily configure how the grid will resize and morph at different screen resolutions.</p>
<p>Just modify or add code in the grid.css </p>
</div>
<div class="fourCol">
<h3>Extra Five</h3>
<p>Additional to the 12, 6, 4, 3, 2, 1 columns you can use the .extraFive class to create a 5 column grid.</p>
</div>
<div class="fourCol">
<h3>Grid in Grid</h3>
<p>Now you can use a grid inside another grid. Two new classe were intoduced to make this possible: <strong>.isGrid</strong> and <strong>.hasGrid</strong></p>
<p><a href="demo4.html" target="_blank">See demo</a></p>
</div>
</div>
<div class="row">
<div class="twelveCol">
<h1>Quick Demo</h1>
</div>
</div>
<div id="quickDemo">
<div class="row">
<div class="oneCol">
<p>One</p>
</div>
<div class="oneCol">
<p>One</p>
</div>
<div class="oneCol">
<p>One</p>
</div>
<div class="oneCol">
<p>One</p>
</div>
<div class="oneCol">
<p>One</p>
</div>
<div class="oneCol">
<p>One</p>
</div>
<div class="oneCol">
<p>One</p>
</div>
<div class="oneCol">
<p>One</p>
</div>
<div class="oneCol">
<p>One</p>
</div>
<div class="oneCol">
<p>One</p>
</div>
<div class="oneCol">
<p>One</p>
</div>
<div class="oneCol">
<p>One</p>
</div>
</div>
<div class="row">
<div class="twoCol">
<p>Two</p>
</div>
<div class="twoCol">
<p>Two</p>
</div>
<div class="twoCol">
<p>Two</p>
</div>
<div class="twoCol">
<p>Two</p>
</div>
<div class="twoCol">
<p>Two</p>
</div>
<div class="twoCol">
<p>Two</p>
</div>
</div>
<div class="row">
<div class="threeCol">
<p>Three</p>
</div>
<div class="threeCol">
<p>Three</p>
</div>
<div class="threeCol">
<p>Three</p>
</div>
<div class="threeCol">
<p>Three</p>
</div>
</div>
<div class="row">
<div class="fourCol">
<p>Four</p>
</div>
<div class="fourCol">
<p>Four</p>
</div>
<div class="fourCol">
<p>Four</p>
</div>
</div>
<div class="row">
<div class="sixCol">
<p>Six</p>
</div>
<div class="sixCol">
<p>Six</p>
</div>
</div>
<div class="row">
<div class="twelveCol">
<p>Twelve</p>
</div>
</div>
<div class="row">
<div class="twelveCol">
<p>Twelve</p>
</div>
</div>
<div class="row">
<div class="extraFive">
<p>Extra Five</p>
</div>
<div class="extraFive">
<p>Extra Five</p>
</div>
<div class="extraFive">
<p>Extra Five</p>
</div>
<div class="extraFive">
<p>Extra Five</p>
</div>
<div class="extraFive">
<p>Extra Five</p>
</div>
</div>
<div class="row">
<div class="oneElevenCol">
<p>One</p>
</div>
<div class="elevenOneCol">
<p>Eleven</p>
</div>
</div>
<div class="row">
<div class="twoTenCol">
<p>Two</p>
</div>
<div class="tenTwoCol">
<p>Ten</p>
</div>
</div>
<div class="row">
<div class="threeNineCol">
<p>Three</p>
</div>
<div class="nineThreeCol">
<p>Nine</p>
</div>
</div>
<div class="row">
<div class="fourEightCol">
<p>Four</p>
</div>
<div class="eightFourCol">
<p>Eight</p>
</div>
</div>
<div class="row">
<div class="fiveSevenCol">
<p>Five</p>
</div>
<div class="sevenFiveCol">
<p>Seven</p>
</div>
</div>
</div>
<div class="row">
<div class="sixCol">
<h3>Standalone demos</h3>
<ul>
<li><a href="demo1.html" target="_blank">Full Grid</a></li>
<li><a href="demo2.html" target="_blank">With Content</a></li>
<li><a href="demo3.html" target="_blank">Control container padding</a></li>
<li><a href="demo4.html" target="_blank">Grid in Grid</a></li>
<li><a href="demo5.html" target="_blank">960 and below</a></li>
</ul>
<h3>Used classes</h3>
<p><strong>Containers:</strong> .container, .container.full, .row <br/>
<strong>Equal width classes:</strong> .oneCol, .twoCol, .threeCol, .fourCol, .sixCol, twelveCol and .extraFive<br/>
<strong>Un-equal morphable classes:</strong> .oneElevenCol, .elevenOneCol, .twoTenCol, .tenTwoCol, threeNineCol, .nineThreeCol, fourEightCol, .eightFourCol, .fiveSevenCol, .sevenFiveCol</p>
</div>
<div class="sixCol">
<h3>"Table Grid in Grid" plugin for MODX Evolution CMS</h3>
<p>TGIG plugin allows you to create grids from html tables. The plugin parses the html, finds all the tables without id, class and border and replaces them with the appropriate divs to make a grid.</p>
<p>See table-grid-in-grid/tgig-evolution.php file for details.</p>
<h3>Download and Contact</h3>
<p><a href="https://github.com/Cipa/Metal-CSS-Grid" target="_blank">Download</a> Metal CSS Grid on GitHub. Contact is currently only available via GitHub; please send me your requests and features using the issues functionality.</p>
<h3>Open Source</h3>
<p>Permission is hereby granted, free of charge, to any person bla bla bla …</p>
<p>See <a href="http://opensource.org/licenses/mit-license.php" target="_blank">MIT</a></p>
</div>
</div>
<div class="row">
<div class="threeCol">
<h3>Browser Support</h3>
<p>The grid was tested in Firefox, Chrome, Safari and IE9. If you want to support media queries in IE8 and below I recommend using a javascript solution. A simpler solution for IE8 and below would be to set a fixed width on the container.</p>
</div>
<div class="threeCol">
<h3>Device Support</h3>
<p>Tested on iPhone and iPad. Should work as expected on Android and Blackberry devices or any other type of devices that use a modern browser.</p>
</div>
<div class="threeCol">
<h3>Files</h3>
<p>To start your project you only need to add the grid.css file to your project. The demos use <a href="http://necolas.github.com/normalize.css/" target="_blank">normalize.css</a> and a basic style file <a href="https://github.com/Cipa/Metal-CSS-Grid/blob/master/demo.css" target="_blank">demo.css</a></p>
</div>
<div class="threeCol">
<h3>Download and test</h3>
<p>Please <a href="https://github.com/Cipa/Metal-CSS-Grid" target="_blank">download</a> on github, test and contribute.</p>
</div>
</div>
</div>
</body>
</html>