This file contains 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
var batchPaths = function() { | |
var _prefix = ''; | |
var _suffix = ''; | |
// _all (Array) | |
// Populated by calling batchPaths.add(Array). | |
var _all = []; | |
// Method: prefix | |
// Args: toPrefix (String) |
This file contains 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
//==== SCSS mixin to create CSS triangles | |
//==== Examples: | |
//==== @include triangle ("up", #fff, 10px, 20px); | |
//==== @include triangle("up", #000, 20px); | |
@mixin triangle ($direction: "down", $color: #000, $width: 20px, $height: $width ) { | |
width: 0; | |
height: 0; | |
border-left: #{setTriangleSide($direction, "left", $width, $height, $color)}; | |
border-right: #{setTriangleSide($direction, "right", $width, $height, $color)}; | |
border-bottom: #{setTriangleSide($direction, "down", $width, $height, $color)}; |
NewerOlder