Created
January 22, 2014 18:09
-
-
Save matthew-andrews/8564033 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) | |
// ---- | |
@mixin o-hello-world($val: blue) { | |
background-color: $val; | |
} | |
@function o-fizz-buzz($some-number, $another-number) { | |
@return $some-number + $another-number; | |
} | |
@mixin oHelloWorld($val: blue) { | |
@warn "oHelloWorld is deprecated, please use o-hello-world"; | |
@include o-hello-world($val); | |
} | |
@function oFizzBuzz($some-number, $another-number) { | |
@warn "oFizzBuzz is deprecated, please use o-fizz-buzz"; | |
@return o-fizz-buzz($some-number, $another-number); | |
} | |
.camel-1 { | |
@include oHelloWorld; | |
width: oFizzBuzz(1, 2)em; | |
} | |
.hyphen-1 { | |
@include o-hello-world; | |
width: o-fizz-buzz(1, 2)em; | |
} | |
.camel-2 { | |
@include oHelloWorld(orange); | |
} | |
.hyphen-2 { | |
@include o-hello-world(orange); | |
} |
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
.camel-1 { | |
background-color: blue; | |
width: 3 em; | |
} | |
.hyphen-1 { | |
background-color: blue; | |
width: 3 em; | |
} | |
.camel-2 { | |
background-color: orange; | |
} | |
.hyphen-2 { | |
background-color: orange; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment