Skip to content

Instantly share code, notes, and snippets.

View stevemckinney's full-sized avatar
🎨

Steve stevemckinney

🎨
View GitHub Profile
@stevemckinney
stevemckinney / 0_reuse_code.js
Last active August 29, 2015 14:18
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
.page-title h1 {
font-size: 3em;
font-weight: 700;
padding: 0 4.025em; }
.std {
font-size: 123.0769231%;
line-height: 1.5; }
.std h3 a {
@stevemckinney
stevemckinney / _element.scss
Last active November 29, 2020 00:48
Element mixin
$white: #fff;
$black: #000;
$radius: 5px;
$sans: "Helvetica", sans-serif;
$default: #88a23d;
@mixin element-base {
@include background-clip;
@include transition(none);
@include appearance(none);
@stevemckinney
stevemckinney / wh.scss
Created November 3, 2012 10:24
Width/height Sass mixin
@mixin wh($width: false, $height: false) {
$width: unquote($width);
@if $height != none {
$height: unquote($height); }
@if $height != false {
width: #{$width};
height: #{$height}; }
@else {
width: #{$width};