Skip to content

Instantly share code, notes, and snippets.

View smileyj68's full-sized avatar

Jonathan Smiley smileyj68

View GitHub Profile
@smileyj68
smileyj68 / f3-navbar-right.html
Created June 23, 2012 23:03
Foundation 3 Nav Bar Right Flyout
<li class="has-flyout">
<a href="#">Nav Item 4</a>
<a href="#" class="flyout-toggle"><span> </span></a>
<div class="flyout large right">
<h5>Large Dropdown</h5>
<div class="row">
<div class="eight columns">
<p>This is example text.</p>
</div>
<div class="four columns">
@smileyj68
smileyj68 / f3-form-errors.html
Created July 6, 2012 15:47
Foundation 3 Form Errors
<div class="row">
<div class="five columns">
<label class="error">Field with Error</label>
<input type="text" class="error" />
<small class="error">Invalid entry</small>
</div>
<div class="five columns end error">
<label>Another Error</label>
<input type="text" />
@smileyj68
smileyj68 / f3-flex-video.html
Created July 5, 2012 19:33
Foundation 3 Flex Video
<div class="flex-video">
<iframe width="420" height="315" src="http://www.youtube.com/embed/9otNWTHOJi8" frameborder="0" allowfullscreen></iframe>
</div>
<div class="flex-video widescreen">
<iframe width="560" height="315" src="http://www.youtube.com/embed/N966cATFWjI" frameborder="0" allowfullscreen></iframe>
</div>
<div class="flex-video widescreen vimeo">
<iframe src="http://player.vimeo.com/video/21762736?title=0&amp;byline=0&amp;portrait=0" width="400" height="225" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
@smileyj68
smileyj68 / f3-mobile-grid.html
Created June 28, 2012 06:06
Foundation 3 Mobile Grid
<div class="row display">
<div class="three mobile-one columns">
.three.mobile-one.columns
</div>
<div class="nine mobile-three columns">
.nine.mobile-three.columns
</div>
</div>
@smileyj68
smileyj68 / f3-migrate-forms.html
Created June 27, 2012 03:47
Foundation 2 vs Foundation 3 Forms
<!-- Foundation 2 Forms -->
<form>
<label>Form Input</label>
<input type="text" class="input-text medium" />
</form>
<!-- Foundation 3 Forms -->
<form class="row">
<div class="six columns">
<label>Form Input</label>
@smileyj68
smileyj68 / f3-migrate-buttons.html
Created June 27, 2012 03:29
Foundation 2 vs Foundation 3 Buttons
<!-- Foundation 2 Buttons -->
<a href="#" class="large nice blue radius button">Fancy Button</a>
<a href="#" class="small nice green rounded button">Fancy Button</a>
<!-- Foundation 3 Buttons -->
<a href="#" class="large radius button">Fancy Button</a>
<a href="#" class="small success rounded button">Fancy Button</a>
@smileyj68
smileyj68 / f3-migrate-grid.html
Created June 27, 2012 03:21
Foundation 2 vs Foundation 3 Grid
<!-- Foundation 2 Structure -->
<div class="container">
<div class="row">
<div class="six columns">
<div class="six columns">
</div>
</div>
<!-- Foundation 3 Structure -->
<div class="row">
@smileyj68
smileyj68 / f3-pill-tabs.html
Created June 27, 2012 01:32
Foundation 3 Pill Tabs
<dl class="tabs pill">
<dd class="active"><a href="#pillTab1">Pill Tab 1</a></dd>
<dd><a href="#pillTab2">Pill Tab 2</a></dd>
<dd><a href="#pillTab3">Pill Tab 3</a></dd>
</dl>
@smileyj68
smileyj68 / f3-keystroke.html
Created June 27, 2012 01:29
Foundation 3 Keystroke
<kbd>Cmd</kbd>
@smileyj68
smileyj68 / f3-orientation.html
Created June 26, 2012 06:41
Foundation 3 Orientation Detection
<strong class="show-for-landscape">You are in landscape orientation.</strong>
<strong class="show-for-portrait">You are in portrait orientation.</strong>