Created
January 26, 2014 19:01
-
-
Save kianoshp/8637560 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
// ---- | |
// Sass (v3.3.0.rc.2) | |
// Compass (v1.0.0.alpha.17) | |
// ---- | |
$border-default-size: 1px !default; | |
$border-default-pattern: solid !default; | |
$border-default-color: #000000 !default; | |
@function add-border( | |
$border-size: $border-default-size, | |
$border-pattern: $border-default-pattern, | |
$border-color: $border-default-color) { | |
$border: $border-size $border-pattern $border-color; | |
@return $border; | |
} | |
.border-test { | |
border-right: add-border(); | |
border: add-border(2px, #bada55, dotted); | |
} |
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
.border-test { | |
border-right: 1px solid black; | |
border: 2px #bada55 dotted; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment