Skip to content

Instantly share code, notes, and snippets.

View smileyj68's full-sized avatar

Jonathan Smiley smileyj68

View GitHub Profile
@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>
@smileyj68
smileyj68 / f3-touch.html
Created June 26, 2012 06:40
Foundation 3 Touch Detection
<strong class="show-for-touch">You are on a touch-enabled device.</strong>
<strong class="hide-for-touch">You are not on a touch-enabled device.</strong>
@smileyj68
smileyj68 / f3-hide-size.html
Created June 26, 2012 06:38
Foundation 3 Hide for Size
<strong class="hide-for-xlarge">You are not on a very large screen.</strong>
<strong class="hide-for-large">You are not on a large screen.</strong>
<strong class="hide-for-large-up">You are not on a large or very large screen.</strong>
<strong class="hide-for-medium-down">You are not on a medium or small screen.</strong>
<strong class="hide-for-medium">You are not on a medium screen.</strong>
<strong class="hide-for-small">You are not on a small screen.</strong>
@smileyj68
smileyj68 / f3-show-size.html
Created June 26, 2012 06:36
Foundation 3 Show for Size
<strong class="show-for-xlarge">You are on a very large screen.</strong>
<strong class="show-for-large">You are on a large screen.</strong>
<strong class="show-for-large-up">You are on a large or very large screen.</strong>
<strong class="show-for-medium">You are on a medium screen.</strong>
<strong class="show-for-medium-down">You are on a medium or small screen.</strong>
<strong class="show-for-small">You are on a small screen, like a smartphone.</strong>
@smileyj68
smileyj68 / f3-side-nav.html
Created June 25, 2012 19:43
Foundation 3 Side Nav
<ul class="side-nav">
<li class="active"><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
<li class="divider"></li>
<li><a href="#">Link 3</a></li>
<li><a href="#">Link 4</a></li>
</ul>
@smileyj68
smileyj68 / f3-case-flite-retina.scss
Created June 25, 2012 19:07
Foundation 3 Case Study: Flite Retina
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
#topnav {
#logo {
a {
background-image: url(/img/flitelogo@2x.png);
background-size: 156px 22px;
}
}
}
@smileyj68
smileyj68 / f3-link-list.html
Created June 25, 2012 15:40
Foundation 3 Link List
@smileyj68
smileyj68 / f3-panels.html
Created June 24, 2012 18:44
Foundation 3 Panels
<div class="panel">
<h5>This is a regular panel.</h5>
<p>It has an easy to override visual style, and is appropriately subdued.</p>
</div>
<div class="panel callout radius">
<h5>This is a callout panel.</h5>
<p>It's a little ostentatious, but useful for important content (like the Foundation 3 Download panel).</p>
</div>