-
Notifications
You must be signed in to change notification settings - Fork 31
/
page-foundation-example.html
executable file
·328 lines (303 loc) · 16.1 KB
/
page-foundation-example.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
---
layout: default
title: Page Foundation Example
description: This is what comes with foundation install
---
<div class="grid-x grid-padding-x" id="top">
<div class="large-12 cell">
<div class="callout">
<h3>We’re stoked you want to try Foundation! </h3>
<p>To get going, <a href="https://github.com/zurb/foundation-zurb-template/blob/master/src/pages/index.html">this file (index.html)</a> includes some basic styles you can modify, play around with, or totally destroy to get going.</p>
<p>Once you've exhausted the fun in this document, you should check out:</p>
<div class="grid-x grid-padding-x">
<div class="large-4 medium-4 cell">
<p><a href="http://foundation.zurb.com/docs">Foundation Documentation</a><br />Everything you need to know about using the framework.</p>
</div>
<div class="large-4 medium-4 cell">
<p><a href="http://zurb.com/university/code-skills">Foundation Code Skills</a><br />These online courses offer you a chance to better understand how Foundation works and how you can master it to create awesome projects.</p>
</div>
<div class="large-4 medium-4 cell">
<p><a href="http://foundation.zurb.com/forum">Foundation Forum</a><br />Join the Foundation community to ask a question or show off your knowlege.</p>
</div>
</div>
<div class="grid-x grid-padding-x">
<div class="large-4 medium-4 medium-offset-2 cell">
<p><a href="http://github.com/zurb/foundation">Foundation on Github</a><br />Latest code, issue reports, feature requests and more.</p>
</div>
<div class="large-4 medium-4 cell">
<p><a href="https://twitter.com/ZURBfoundation">@zurbfoundation</a><br />Ping us on Twitter if you have questions. When you build something with this we'd love to see it (and send you a totally boss sticker).</p>
</div>
</div>
</div>
</div>
</div>
<div class="grid-x grid-padding-x">
<div class="large-8 medium-8 cell">
<h5>Here’s your basic grid:</h5>
<!-- Grid Example -->
<div class="grid-x grid-padding-x">
<div class="large-12 cell">
<div class="primary callout">
<p><strong>This is a twelve cell section in a grid-x.</strong> Each of these includes a div.callout element so you can see where the cell are - it's not required at all for the grid.</p>
</div>
</div>
</div>
<div class="grid-x grid-padding-x">
<div class="large-6 medium-6 cell">
<div class="primary callout">
<p>Six cell</p>
</div>
</div>
<div class="large-6 medium-6 cell">
<div class="primary callout">
<p>Six cell</p>
</div>
</div>
</div>
<div class="grid-x grid-padding-x">
<div class="large-4 medium-4 small-4 cell">
<div class="primary callout">
<p>Four cell</p>
</div>
</div>
<div class="large-4 medium-4 small-4 cell">
<div class="primary callout">
<p>Four cell</p>
</div>
</div>
<div class="large-4 medium-4 small-4 cell">
<div class="primary callout">
<p>Four cell</p>
</div>
</div>
</div>
<hr class="mvl" />
<h5>We bet you’ll need a form somewhere:</h5>
<form>
<div class="grid-x grid-padding-x">
<div class="large-12 cell">
<label>Input Label</label>
<input type="text" placeholder="large-12.cell" />
</div>
</div>
<div class="grid-x grid-padding-x">
<div class="large-4 medium-4 cell">
<label>Input Label</label>
<input type="text" placeholder="large-4.cell" />
</div>
<div class="large-4 medium-4 cell">
<label>Input Label</label>
<input type="text" placeholder="large-4.cell" />
</div>
<div class="large-4 medium-4 cell">
<div class="grid-x">
<label>Input Label</label>
<div class="input-group">
<input type="text" placeholder="small-9.cell" class="input-group-field" />
<span class="input-group-label">.com</span>
</div>
</div>
</div>
</div>
<div class="grid-x grid-padding-x">
<div class="large-12 cell">
<label>Select Box</label>
<select>
<option value="husker">Husker</option>
<option value="starbuck">Starbuck</option>
<option value="hotdog">Hot Dog</option>
<option value="apollo">Apollo</option>
</select>
</div>
</div>
<div class="grid-x grid-padding-x">
<div class="large-6 medium-6 cell">
<label>Choose Your Favorite</label>
<input type="radio" name="pokemon" value="Red" id="pokemonRed"><label for="pokemonRed">Radio 1</label>
<input type="radio" name="pokemon" value="Blue" id="pokemonBlue"><label for="pokemonBlue">Radio 2</label>
</div>
<div class="large-6 medium-6 cell">
<label>Check these out</label>
<input id="checkbox1" type="checkbox"><label for="checkbox1">Checkbox 1</label>
<input id="checkbox2" type="checkbox"><label for="checkbox2">Checkbox 2</label>
</div>
</div>
<div class="grid-x grid-padding-x">
<div class="large-12 cell">
<label>Textarea Label</label>
<textarea placeholder="small-12.cell"></textarea>
</div>
</div>
</form>
</div>
<div class="large-4 medium-4 cell">
<h5>Try one of these buttons:</h5>
<p><a href="#" class="button">Simple Button</a><br/>
<a href="#" class="success button">Success Btn</a><br/>
<a href="#" class="alert button">Alert Btn</a><br/>
<a href="#" class="secondary button">Secondary Btn</a></p>
<div class="callout">
<h5>So many components, girl!</h5>
<p>A whole kitchen sink of goodies comes with Foundation. Check out the docs to see them all, along with details on making them your own.</p>
<a href="http://foundation.zurb.com/sites/docs/" class="small button">Go to Foundation Docs</a>
</div>
</div>
</div>
<div class="grid-x grid-padding-x">
<div class="large-8 medium-8 medium-offset-2 cell">
<h1 class="text-center mtl font-heavy">Javascript Examples</h1>
<h4 class="mtl"><a href="https://foundation.zurb.com/sites/docs/responsive-accordion-tabs.html">Responsive Accordion Tabs <i class="fas fa-external-link-alt fa-xs"></i> </a></h4>
<ul class="tabs" data-responsive-accordion-tabs="tabs medium-accordion large-tabs" id="example-tabs">
<li class="tabs-title is-active"><a href="#panel1" aria-selected="true">Tab 1</a></li>
<li class="tabs-title"><a href="#panel2">Tab 2</a></li>
<li class="tabs-title"><a href="#panel3">Tab 3</a></li>
<li class="tabs-title"><a href="#panel4">Tab 4</a></li>
<li class="tabs-title"><a href="#panel5">Tab 5</a></li>
<li class="tabs-title"><a href="#panel6">Tab 6</a></li>
</ul>
<div class="tabs-content" data-tabs-content="example-tabs">
<div class="tabs-panel is-active" id="panel1">
<p>one</p>
<p>Check me out! I'm a super cool Tab panel with text content!</p>
</div>
<div class="tabs-panel" id="panel2">
<p>two</p>
<img class="thumbnail" src="http://placehold.it/960x260/663366">
</div>
<div class="tabs-panel" id="panel3">
<p>three</p>
<p>Check me out! I'm a super cool Tab panel with text content!</p>
</div>
<div class="tabs-panel" id="panel4">
<p>four</p>
<img class="thumbnail" src="http://placehold.it/960x260/336666">
</div>
<div class="tabs-panel" id="panel5">
<p>five</p>
<p>Check me out! I'm a super cool Tab panel with text content!</p>
</div>
<div class="tabs-panel" id="panel6">
<p>six</p>
<img class="thumbnail" src="http://placehold.it/960x260/666633">
</div>
</div>
<hr class="mvl" />
<h4 class="mtl"><a href="https://foundation.zurb.com/sites/docs/orbit.html">Orbit <i class="fas fa-external-link-alt fa-xs"></i> </a></h4>
<div class="orbit" role="region" aria-label="Favorite Space Pictures" data-orbit>
<ul class="orbit-container">
<button class="orbit-previous" aria-label="previous"><span class="show-for-sr">Previous Slide</span>◀</button>
<button class="orbit-next" aria-label="next"><span class="show-for-sr">Next Slide</span>▶</button>
<li class="is-active orbit-slide">
<div>
<h3 class="text-center">You can also throw some text in here!</h3>
<p class="text-center">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Unde harum rem, beatae ipsa consectetur quisquam. Rerum ratione, delectus atque tempore sed, suscipit ullam, beatae distinctio cupiditate ipsam eligendi tempora expedita.</p>
<h3 class="text-center">This Orbit slide has chill</h3>
</div>
</li>
<li class="orbit-slide">
<div>
<img src="http://placehold.it/960x260/663366">
</div>
</li>
<li class="orbit-slide">
<div>
<h3 class="text-center">You can also throw some text in here!</h3>
<p class="text-center">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Unde harum rem, beatae ipsa consectetur quisquam. Rerum ratione, delectus atque tempore sed, suscipit ullam, beatae distinctio cupiditate ipsam eligendi tempora expedita.</p>
<h3 class="text-center">This Orbit slide has chill</h3>
</div>
</li>
<li class="orbit-slide">
<div>
<img src="http://placehold.it/960x260/336666">
</div>
</li>
</ul>
<nav class="orbit-bullets">
<button class="is-active" data-slide="0"><span class="show-for-sr">First slide details.</span><span class="show-for-sr">Current Slide</span></button>
<button data-slide="1"><span class="show-for-sr">Second slide details.</span></button>
<button data-slide="2"><span class="show-for-sr">Third slide details.</span></button>
<button data-slide="3"><span class="show-for-sr">Fourth slide details.</span></button>
</nav>
</div>
<hr class="mvl" />
<h4 class="mtl"><a href="https://foundation.zurb.com/sites/docs/reveal.html">Reveal <i class="fas fa-external-link-alt fa-xs"></i> </a></h4>
<div class="reveal" id="exampleModal1" data-reveal>
<h1>Awesome. I Have It.</h1>
<p class="lead">Your couch. It is mine.</p>
<p>I'm a cool paragraph that lives inside of an even cooler modal. Wins!</p>
<button class="close-button" data-close aria-label="Close modal" type="button">
<span aria-hidden="true">×</span>
</button>
</div>
<p><button class="button" data-open="exampleModal1">Click me for a modal</button></p>
<hr class="mvl" />
<h4 class="mtl"><a href="https://foundation.zurb.com/sites/docs/smooth-scroll.html">Smooth Scroll <i class="fas fa-external-link-alt fa-xs"></i> </a></h4>
<p><a href="#top" data-smooth-scroll>Smooth Scroll to Top </a></p>
<hr class="mvl" />
<h4 class="mtl"><a href="https://foundation.zurb.com/sites/docs/drilldown-menu.html">Drilldown Menu <i class="fas fa-external-link-alt fa-xs"></i> </a></h4>
<ul class="vertical menu drilldown" data-drilldown>
<li><a href="#">American League</a>
<ul class="menu vertical nested">
<li><a href="#">East</a>
<ul class="menu vertical nested">
<li><a href="http://orioles.com/">Baltimore Orioles</a></li>
<li><a href="http://redsox.com/">Boston Red Sox</a></li>
<li><a href="http://newyork.yankees.mlb.com/">New York Yankees</a></li>
<li><a href="http://tampabay.rays.mlb.com/">Tampa Bay Rays</a></li>
<li><a href="http://toronto.bluejays.mlb.com/">Toronto Blue Jays</a></li>
</ul>
</li>
<li><a href="#">Central</a>
<ul class="menu vertical nested">
<li><a href="http://chicago.whitesox.mlb.com/">Chicago White Sox</a></li>
<li><a href="http://cleveland.indians.mlb.com/">Cleveland Indians</a></li>
<li><a href="http://detroit.tigers.mlb.com/">Detroit Tigers</a></li>
<li><a href="http://kansascity.royals.mlb.com/">Kansas City Royals</a></li>
<li><a href="http://minnesota.twins.mlb.com/">Minnesota Twins</a></li>
</ul>
</li>
<li><a href="#">West</a>
<ul class="menu vertical nested">
<li><a href="http://houston.astros.mlb.com/">Houston Astros</a></li>
<li><a href="http://losangeles.angels.mlb.com/">Los Angeles Angels</a></li>
<li><a href="http://oakland.athletics.mlb.com/">Oakland Athletics</a></li>
<li><a href="http://seattle.mariners.mlb.com/">Seattle Mariners</a></li>
<li><a href="http://texas.rangers.mlb.com/">Texas Rangers</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#">National League</a>
<ul class="menu vertical nested">
<li><a href="#">East</a>
<ul class="menu vertical nested">
<li><a href="http://atlanta.braves.mlb.com/">Atlanta Braves</a></li>
<li><a href="http://miami.marlins.mlb.com/">Miami Marlins</a></li>
<li><a href="http://newyork.mets.mlb.com/">New York Mets</a></li>
<li><a href="http://philadelphia.phillies.mlb.com/">Philadelphia Phillies</a></li>
<li><a href="http://washington.nationals.mlb.com/">Washington Nationals</a></li>
</ul>
</li>
<li><a href="#">Central</a>
<ul class="menu vertical nested">
<li><a href="http://chicago.cubs.mlb.com/">Chicago Cubs</a></li>
<li><a href="http://cincinnati.reds.mlb.com/">Cincinnati Reds</a></li>
<li><a href="http://milwaukee.brewers.mlb.com/">Milwaukee Brewers</a></li>
<li><a href="http://pittsburgh.pirates.mlb.com/">Pittsburgh Pirates</a></li>
<li><a href="http://stlouis.cardinals.mlb.com/">St. Louis Cardinals</a></li>
</ul>
</li>
<li><a href="#">West</a>
<ul class="menu vertical nested">
<li><a href="http://arizona.diamondbacks.mlb.com/">Arizona Diamondbacks</a></li>
<li><a href="http://colorado.rockies.mlb.com/">Colorado Rockies</a></li>
<li><a href="http://losangeles.dodgers.mlb.com/">Los Angeles Dodgers</a></li>
<li><a href="http://sandiego.padres.mlb.com/">San Diego Padres</a></li>
<li><a href="http://sanfrancisco.giants.mlb.com/">San Francisco Giants</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>