Created
          July 27, 2013 00:20 
        
      - 
      
- 
        Save dannygarcia/6093089 to your computer and use it in GitHub Desktop. 
Revisions
- 
        dannygarcia created this gist Jul 27, 2013 .There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ @mixin absolute($top: false, $right: false, $bottom: false, $left: false) { position: absolute; @if $top != false { top: $top; } @if $right != false { right: $right; } @if $bottom != false { bottom: $bottom; } @if $left != false { left: $left; } } // Example .item { @include absolute(0, 10%, false, 20%); // generates position: absolute; top: 0; right: 10%; left: 20%; }