Skip to content

Instantly share code, notes, and snippets.

@barnettjw
barnettjw / Lined-Paper---A-Micro-Typography-Framework.markdown
Created April 10, 2015 12:22
Lined Paper - A Micro Typography Framework

Lined Paper - A Micro Typography Framework

A baseline grid for all of your modular typography needs. It uses 20px base font size, at scale factor of 1.333, math by gridlover.net.

A Pen by James Barnett on CodePen.

License.

@barnettjw
barnettjw / Simple-CSS-Checkboxes-with-Font-Awesome.markdown
Created April 10, 2015 12:22
Simple CSS Checkboxes with Font Awesome

Custom select box

Styling a custom select box using only CSS, it uses an icon font for the down arrow. Tested in Firefox 30, IE8-11 & Chrome 35

A Pen by James Barnett on CodePen.

License.

@barnettjw
barnettjw / Simple-CSS-Dropdown-Menu.markdown
Created April 10, 2015 12:23
Simple CSS Dropdown Menu
@barnettjw
barnettjw / index.html
Last active August 29, 2015 14:18
search field
<div class="search">
<span class="fa fa-search"></span>
<input placeholder="Search term">
</div>
@barnettjw
barnettjw / index.html
Created April 10, 2015 12:33
nth-child playground
<h1>nth-child playground</h1>
<label>nth selector:</label>
<input autofocus="autofocus">
<button class = "submit">Submit</button>
<button class = "reset">Reset</button>
<ul id = "container" class="container ui-widget-content" ></ul>
@barnettjw
barnettjw / Top-Left-Rounded-Corner-in-CSS.markdown
Created April 10, 2015 12:34
Top Left Rounded Corner in CSS