Skip to content
A collection of various HTML/CSS/JS snippets I find myself reusing from time to time.
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
css
datepicker
flexgrid
form submit
html
js
README.md

README.md

Miscellaneous Code Snippets

This is a collection of various CSS/HTML/JS/etc. snippets I find myself reusing from time to time.

CSS

  • Clearfix, taken from the 960.gs
  • Default CSS starter stylesheet
  • A flexible way to markup and style forms
  • Basic media queries to get you started
  • Eric Meyer's reset with a little extra HTML5 fun added
  • Tweaked version of Normalize.css
  • Image sprites for the Silk Fam Fam Fam icon set

Date Picker

  • Basic date picker setup using Kelvin Luck's date picker plugin. Still the best for me.

Flexgrid

  • A flexible grid system modeled after Nathan Smith's 960 grid.

Form Submit

  • So I was asked how to submit a form via JavaScript... and I didn't know. Now, I know 3 different ways.

HTML

  • Basic HTML5 Template

JavaScript

  • Extend the Date object to have day names and month names
  • Basic jQuery starter file
  • Get today's date
Something went wrong with that request. Please try again.