I hereby claim:
- I am zastrow on github.
- I am zastrow (https://keybase.io/zastrow) on keybase.
- I have a public key whose fingerprint is 9DA5 5A8B 2833 6822 0E37 316F 7A80 FC53 7691 FA81
To claim this, I am signing this object:
<a href="#">Sass Color Links</a> |
I hereby claim:
To claim this, I am signing this object:
@mixin positions($top:"auto", $right:"auto", $bottom:"auto", $left:"auto",$unit:"") { | |
@if ( $top != "auto" and ( $unit == "" or $unit == "rem" ) ) { | |
top: $top * $base-font-multiplier * 16px; | |
top: $top * 1rem; | |
} @else if ( $unit != "" and $unit != "rem" ) { | |
top: #{$top}#{$unit}; | |
} @else { | |
top: $top; | |
} | |
@if ( $right != "auto" and ( $unit == "" or $unit == "rem" ) ) { |
// Triangle | |
@mixin triangle($position:"bottom", $color:"#000", $size:"1em", $opposite_size:"") { | |
$top: 0; $right: 0; $bottom: 0; $left: 0; | |
@if ( $position == "top" or $position == "bottom" ) { | |
$right: ($size/2) solid transparent; | |
$left: ($size/2) solid transparent; | |
@if ( $opposite_size != "" ) { $size: $opposite_size; } | |
@if ( $position == "top" ) { | |
$top: $size solid $color; | |
$bottom: 0 none; |
@mixin sb-media($min, $max:"") { | |
@if $no-mq-support{ | |
@if $min < $serve-to-nomq-max-width{ | |
@content; | |
} | |
} | |
@else if $max != "" { | |
@media ( 'min-width:' + $min ) and ( 'max-width:' + $max ) { | |
@content; | |
} |
jsWarrior.turn = function(warrior) { | |
var action = null; | |
if(!warrior.game_started){ | |
jsWarrior.firstSquareReached(warrior); | |
} | |
if(warrior.check() == "diamond") { | |
action = warrior.collect; | |
} |
@mixin inline($val) { | |
display: inline-block; | |
vertical-align: $val; | |
.lt-ie8 & { | |
display: inline; | |
zoom: 1; | |
} | |
} |
A Pen by Philip Zastrow on CodePen.
@mixin colour($val) { | |
color: $val; | |
} |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |