Skip to content

Instantly share code, notes, and snippets.

@dhg
dhg / forms
Created May 15, 2011 19:27
Skeleton Forms
<form action="">
<!-- Label and text input -->
<label for="regularInput">Regular Input</label>
<input type="text" id="regularInput" />
<!-- Label and textarea -->
<label for="regularTextarea">Regular Textarea</label>
<textarea id="regularTextarea"></textarea>
@dhg
dhg / tabs
Created May 15, 2011 19:21
Skeleton Tabs
<!-- Standard <ul> with class of "tabs" -->
<ul class="tabs">
<!-- Give href an ID value of corresponding "tabs-content" <li>'s -->
<li><a class="active" href="#simple">Simple</a></li>
<li><a href="#lightweight">Lightweight</a></li>
<li><a href="#mobileFriendly">Mobile</a></li>
</ul>
<!-- Standard <ul> with class of "tabs-content" -->
<ul class="tabs-content">
@dhg
dhg / buttons
Created May 15, 2011 19:17
Buttons for Skeleton
<!-- Just add .button to an anchor -->
<a href="#" class="button">Click Me</a>
<!-- Also works on plain button elements -->
<button>Click Me</button>
<!-- To take up full-width of a container? -->
<a href="#" class="full-width button">Click Me</a>
@dhg
dhg / Skeleton Grid
Created May 6, 2011 19:40
This is the Skeleton.gs grid example
<!-- The container is a centered 960px -->
<div class="container">
<!-- Give column value in word form (one, two..., twelve) -->
<div class="sixteen columns">
<h1>Full Width Column</h1>
</div>
<!-- Sweet nested columns cleared with a clearfix class -->
<div class="six columns clearfix">