-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
212 lines (187 loc) · 6.7 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
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<link rel="stylesheet" href="grid.css">
<link rel="stylesheet" href="./demo.css">
</head>
<body>
<header >
<div class='container'>
<div class='row large-gutter'>
<div class='small-12'>
<h1><em>Funko</em><br/> Grid System</h1>
<h2><a href='docs.html'>documentation</a></h2>
<h2><a href='https://github.com/OriginalFunko/funko-grid'>source</a></h2>
<h2><a>demo</a></h2>
</div>
<hr />
<div class='small-12 medium-6 large-3'>
<h2>minimal syntax</h2>
<p>just add class name 'row' to a container, and let flex box handle it. If you want precise control, use the familiar 12 column system.</p>
</div>
<div class='small-12 medium-6 large-3'>
<h2>element light</h2>
<p>cells can be rows themselves, with cells of their own. no unnecessary elements / nesting.</p>
</div>
<div class='small-12 medium-6 large-3'>
<h2>responsive</h2>
<p>break points for mobile, tablet and desktop. Add class name 'small-n', 'medium-n' or 'large-n'.</p>
</div>
<div class='small-12 medium-6 large-3'>
<h2>equal column heights</h2>
<p>
no javascript hackery, just good clean fun.
</p>
</div>
</div>
</div>
</header>
<div class='container'>
<h1>Gutters</h1>
<div class='row no-gutter'>
<div class='small-12 medium-6'><h2>no gutter</h2></div>
<div class='small-6 medium-3'> </div>
<div class='small-6 medium-3'> </div>
</div>
<div class='row no-gutter'>
<div class='small-6 medium-3'> </div>
<div class='small-6 medium-3'> </div>
<div class='small-12 medium-6'> </div>
</div>
<hr/>
<div class='row small-gutter'>
<div class='small-12 medium-6'><h2>small gutter</h2></div>
<div class='small-6 medium-3'> </div>
<div class='small-6 medium-3'> </div>
</div>
<div class='row small-gutter'>
<div class='small-6 medium-3'> </div>
<div class='small-6 medium-3'> </div>
<div class='small-12 medium-6'> </div>
</div>
<hr/>
<div class='row'>
<div class='small-12 medium-6'><h2>medium gutter</h2></div>
<div class='small-6 medium-3'> </div>
<div class='small-6 medium-3'> </div>
</div>
<div class='row'>
<div class='small-6 medium-3'> </div>
<div class='small-6 medium-3'> </div>
<div class='small-12 medium-6'> </div>
</div>
<hr/>
<div class='row large-gutter'>
<div class='small-12 medium-6'><h2>large gutter</h2></div>
<div class='small-6 medium-3'> </div>
<div class='small-6 medium-3'> </div>
</div>
<div class='row large-gutter'>
<div class='small-6 medium-3'> </div>
<div class='small-6 medium-3'> </div>
<div class='small-12 medium-6'> </div>
</div>
<hr/>
<h1>Grid System</h1>
<div class='row '>
<div class='small-3 offset-small-3'></div>
<div class='small-3'> </div>
<div class='small-3'> </div>
</div>
<div class='row' >
<div class='small-3 offset-small-6'></div>
<div class='small-3'> </div>
</div>
<div class='row'>
<div class='small-3 offset-small-9'> </div>
</div>
<div class='row'>
<div class='small-4 medium-2'> </div>
<div class='small-4 medium-2'> </div>
<div class='small-4 medium-2'> </div>
<div class='small-6 medium-3'> </div>
<div class='small-6 medium-3'> </div>
</div>
<div class='row'>
<div class='medium-1 small-2'> </div>
<div class='medium-2 small-4'> </div>
<div class='medium-3 small-6'> </div>
<div class='medium-6 small-12'> </div>
</div>
<div class='row'>
<div class='small-12 medium-6 large-3'> </div>
<div class='small-12 medium-6 large-3'> </div>
<div class='small-12 medium-6 large-3'> </div>
<div class='small-12 medium-6 large-3'> </div>
</div>
<div class='row '>
<div class='small-12 medium-9 no-row-padding row '>
<div class='small-12 no-row-padding row '>
<div class='small-8 no-row-padding row '>
<div class='small-12 row'>
<div class='small-3'> </div>
<div class='small-3'> </div>
<div class='small-3'> </div>
<div class='small-3'> </div>
</div>
<div class='small-12 row'>
<div class='small-4'> </div>
<div class='small-4'> </div>
<div class='small-4'> </div>
</div>
</div>
<div class='small-4 row'>
<div class='small-12 medium-6'> </div>
<div class='small-12 medium-6'> </div>
</div>
</div>
<div class='small-8 row'>
<div class='small-6 '> </div>
<div class='small-6 '> </div>
</div>
<div class='small-4 row'>
<div class='small-12 medium-6 '> </div>
<div class='small-12 medium-6 '> </div>
</div>
</div>
<div class='small-12 medium-3 row'>
<div class='small-6 '> </div>
<div class='small-6 '> </div>
</div>
</div>
<hr/>
<h1>utilities</h1>
<div class='row'>
<div class='small-12'>
<h2>.hide-for-[breakpoint], .show-for-[breakpoint]</h2>
</div>
<div class='hide-for-small'>this is <strong>not</strong> visible on small</div>
<div class='hide-for-medium'>this is <strong>not</strong> visible on medium</div>
<div class='hide-for-large'>this is <strong>not</strong> visible on large</div>
<div class='show-for-small'>this is <strong>only</strong> visible on small</div>
<div class='show-for-medium'>this is <strong>only</strong> visible on medium</div>
<div class='show-for-large'>this is <strong>only</strong> visible on large</div>
</div>
<div class='row'>
<div class='small-12'>
<h2>.order-[breakpoint]-[1...12]</h2>
</div>
<div class='order-large-1 order-medium-2 order-small-3'>
<div class='demo-bold-large'>large: first</div>
<div class='demo-bold-medium'>medium: second</div>
<div class='demo-bold-small'>small: third</div>
</div>
<div class='order-large-2 order-medium-3 order-small-1'>
<div class='demo-bold-large'>large: second</div>
<div class='demo-bold-medium'>medium: third</div>
<div class='demo-bold-small'>small: first</div>
</div>
<div class='order-large-3 order-medium-1 order-small-2'>
<div class='demo-bold-large'>large: third</div>
<div class='demo-bold-medium'>medium: first</div>
<div class='demo-bold-small'>small: second</div>
</div>
</div>
</div>
</body>
</html>