Skip to content

Instantly share code, notes, and snippets.

Matt Van Meter mavame

Block or report user

Report or block mavame

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:5426716
// Ch2 from Pro JavaScript Design Patterns
// Interfaces in JS!!
/*
interface Composite {
function add(child);
function remove(child);
function getChild(index);
}
interface FormItem {
@mavame
mavame / dabblet.css
Created Mar 5, 2013
The first commented line is your dabblet’s title
View dabblet.css
/**
* The first commented line is your dabblet’s title
*/
body {
text-align:center;
}
div {
color:#eac;
@mavame
mavame / index.html
Created Mar 5, 2013
A CodePen by Matt . button-gradient mixin for sass
View index.html
<div class="column">
<a class="btn red">Button</a>
<div class="swatch red"></div>
<a class="btn darkRed">Button</a>
<div class="swatch darkRed"></div>
<a class="btn burntRed">Button</a>
<div class="swatch burntRed"></div>
<a class="btn brightBlue">Button</a>
<div class="swatch brightBlue"></div>
<a class="btn blue">Button</a>
You can’t perform that action at this time.