Skip to content

Instantly share code, notes, and snippets.

Josh Matz joshmatz

Block or report user

Report or block joshmatz

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 Gruntfile.js
// Generated on 2014-07-08 using generator-angular 0.9.3
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'
var modRewrite = require('connect-modrewrite');

Keybase proof

I hereby claim:

  • I am joshmatz on github.
  • I am joshmatz ( on keybase.
  • I have a public key whose fingerprint is DB07 283B D5A8 4052 DF79 E114 9941 62C1 FF17 D60E

To claim this, I am signing this object:

joshmatz / _respond-to.scss
Last active Dec 13, 2015
SCSS Mixin for creating media queries when needed. Supports lists as a parameter for use with multiple media queries.
View _respond-to.scss
* Supports lists as a parameter for use when you want to select multiple media queries.
* @include respond-to(palm, phablet, lap) { .sub-nav { display: none; }}
@mixin respond-to($media...) {
$response-count: 0;
$query: '';
@each $medium in $media {
joshmatz / grid.scss
Last active Dec 12, 2015
Generate multiple grids for use in different media queries with an SCSS grid generator. Utilizes %placeholder selectors to keep these classes out of the final CSS document.
View grid.scss
// Generate default grid
$total-columns: 12;
$column-width: 60px;
$gutter: 24px;
$column-name: span;
$normal-width: ($total-columns * $column-width) + (($total-columns - 1) * $gutter); // use for media query
@include grid-generator($total-columns, $column-width, $gutter, $column-name);
You can’t perform that action at this time.