Skip to content

Instantly share code, notes, and snippets.

View smileyj68's full-sized avatar

Jonathan Smiley smileyj68

View GitHub Profile
@smileyj68
smileyj68 / f3-grid.html
Created June 18, 2012 22:17
Foundation 3 Grid Example
<div class="row">
<div class="eight columns">
Main content...
</div>
<div class="four columns">
Sidebar...
</div>
</div>
@smileyj68
smileyj68 / f3-nested-grid.html
Created June 18, 2012 22:33
Foundation 3 Nested Grid
<div class="row">
<div class="eight columns">
<div class="row">
<div class="six columns">
Six columns (nested)
</div>
<div class="six columns">
Six columns (nested)
</div>
</div>
@smileyj68
smileyj68 / f3-source-ordering.html
Created June 18, 2012 22:43
Foundation 3 Source Ordering
<div class="row">
<div class="two columns push-ten">
.two.columns
</div>
<div class="ten columns pull-two">
.ten.columns (last)
</div>
</div>
<div class="row">
@smileyj68
smileyj68 / f3-subheaders.html
Created June 19, 2012 05:49
Foundation 3 Subheaders
<h2>This is a large main header.</h2>
<h4 class="subheader">This is a smaller subheader.</h4>
@smileyj68
smileyj68 / f3-header-segment.html
Created June 19, 2012 05:50
Foundation 3 Header Segment Example
<h3>This is a large header. <small>This is a small segment of that header.</small></h3>
@smileyj68
smileyj68 / f3-modscale.scss
Created June 19, 2012 05:57
Foundation 3 Modular Scale SCSS
// Variables
$ratio: $golden;
$base-size: 14px 44px;
// Modular Scale SCSS Function Syntax
h6 { font-size: ms(0); } // First Number in Scale
h5 { font-size: ms(1); } // Second Number in Scale
h4 { font-size: ms(2); } // Third Number in Scale
@smileyj68
smileyj68 / f3-blockquote.html
Created June 19, 2012 06:12
Foundation 3 Blockquote
<blockquote>
I do not fear computers. I fear the lack of them.
<cite>Isaac Asimov</cite>
</blockquote>
@smileyj68
smileyj68 / f3-simple-form.html
Created June 19, 2012 06:55
Foundation 3 Simple Form
<form>
<label>This is a label.</label>
<input type="text" placeholder="Standard Input" />
<label>Address</label>
<input type="text" class="twelve" placeholder="Street" />
<div class="row">
<div class="six columns">
<input type="text" placeholder="City" />
</div>
@smileyj68
smileyj68 / f3-left-form.html
Created June 19, 2012 07:02
Foundation 3 Left Form
<form>
<div class="row">
<div class="two mobile-one columns">
<label class="right inline">Address Name:</label>
</div>
<div class="ten mobile-three columns">
<input type="text" placeholder="e.g. Home" class="eight" />
</div>
</div>
<div class="row">
@smileyj68
smileyj68 / f3-fieldset.html
Created June 19, 2012 07:05
Foundation 3 Fieldset
<fieldset>
<legend>Fieldset Name</legend>
<label>This is a label.</label>
<input type="text" placeholder="Standard Input" />
<label>Address</label>
<input type="text" />
<input type="text" class="six" />