Skip to content

Instantly share code, notes, and snippets.

@uniZero
uniZero / akgs.scss
Last active December 16, 2015 23:09
Ass kicking grid system
/////////////
// Options //
/////////////
$gutter: 6px;
$color: #D5D5D5;
$bg-img: "http://i.imgur.com/3YfrKG7.png";
$dropdown-img: "http://i.imgur.com/kXsFVER.png";
@uniZero
uniZero / css-vertical-align-hack.css
Created May 4, 2013 15:06
Center an element vertically using a :before pseudo element. (http://stackoverflow.com/a/12686489/1725363)
.block:before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
margin-right: -0.25em; /* Adjusts for spacing */
}
/* The element to be centered, can
also be of any width and height */
@uniZero
uniZero / 0_reuse_code.js
Created April 21, 2016 14:33
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