This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin whitespace($sizes: (5, 10, 20)){ //for now assume this list is always ascending | |
if length($sizes = 1){ | |
} @else if length($sizes = 2) { | |
} | |
$types: (p,m); | |
$locations: (a, v, h, t, r, b, l); | |
$key: (p padding, m margin, a, v -top -bottom, h -left -right, t -top, r -right, b -bottom, l -left); | |
@each $location in $locations { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ie-support: 7 !default; | |
@mixin oobox($ie-corner-tag: false){ // can be any HTML tag including; div, b, span, etc. | |
.box { | |
.hd,.bd,.ft{ | |
@include clearfix-me(micro); | |
} | |
@if $ie-corner-tag { // this code only ever executes if you want rounded corners in IE<8. Better without. | |
%corners-and-wrappers { |
NewerOlder