Skip to content

Instantly share code, notes, and snippets.

View windycitymoon's full-sized avatar

Derek Moon windycitymoon

View GitHub Profile
@windycitymoon
windycitymoon / _grid-ie-calc.scss
Created April 6, 2018 14:07 — forked from robinloeffel/_grid-ie-calc.scss
Dynamic CSS Grid Items in Internet Explorer and Edge - https://rbnlffl.synology.me/grid-ie-calc
/*
This mixin allows us use CSS grid without having to think about
what -ms-grid-row/-ms-grid-column we have to assign to a grid element
for it to properly work on Internet Explorer and Edge.
It takes three arguments, the last one of which is optional. Specify the
maximum amount of items you want to have in your grid, when they should
break to the next line and, if you like, a grid-gap of some sort.
@windycitymoon
windycitymoon / 0_reuse_code.js
Created March 10, 2014 15:57
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console