- 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
- Compass - Open source CSS Authoring Framework.
- Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
- Font Awesome - The iconic font designed for Bootstrap.
- Zurb Foundation - Framework for writing responsive web sites.
- SASS - CSS extension language which allows variables, mixins and rules nesting.
- Skeleton - Boilerplate for responsive, mobile-friendly development.
- jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
- Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
- AngularJS - Conventions based MVC framework for HTML5 apps.
- Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
- lawnchair - Key/value store adapter for indexdb, localStorage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
#Mac OS X
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// VENDOR-PREFIX CSS TRANSITIONS | |
// USAGE: @include transition(transform 0.2s ease-in 0.2s, opacity 0.2s ease); | |
@function prefix($property, $prefixes: (webkit moz o ms)) { | |
$vendor-prefixed-properties: transform background-clip background-size; | |
$result: (); | |
@each $prefix in $prefixes { | |
@if index($vendor-prefixed-properties, $property) { | |
$property: -#{$prefix}-#{$property} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* fonts.com implement one different font-family name per weight or style of | |
* the same font. This means you need to explicitly declare in your elements | |
* that use a font-weight different to `normal` the new font-family | |
* corresponding to that weight. | |
* | |
* See http://stackoverflow.com/questions/5824925/is-there-any-way-to-fix-fonts-com-font-face-declarations | |
*/ | |
var FontsComLoader = (function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function rgbaToSVGAttrs(color) { | |
var regex, rgba; | |
color = color.replace(' ', ''); | |
if (color.indexOf('rgba(') !== 0) { | |
return color; | |
} | |
regex = /(.*?)rgba\((\d+),(\d+),(\d+),([0-9]+\.[0-9]+|\d)\)/; | |
rgba = regex.exec(color); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section class="col"> | |
<ul> | |
<li class="row l-2"> | |
<p class="col"> | |
{{ form.first_name.label_tag }} | |
{{ form.first_name }} | |
<span class="error">This field is required</span> | |
</p> | |
<p class="col"> | |
{{ form.last_name.label_tag }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@function prefix($property, $prefixes: (webkit moz o ms)) { | |
$vendor-prefixed-properties: transform background-clip background-size; | |
$result: (); | |
@each $prefix in $prefixes { | |
@if index($vendor-prefixed-properties, $property) { | |
$property: -#{$prefix}-#{$property} | |
} | |
$result: append($result, $property); | |
} | |
@return $result; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Fireworks JavaScript Command | |
// Exports current document state as SVG graphics format | |
// Install by copying to Fireworks/Configuration/Commands/ | |
// Run via the Commands menu in Fireworks | |
// Aaron Beall 2010-2011 | |
// Version | |
var VERSION = "0.6.1"; | |
// Params |