Last active
August 29, 2015 14:06
-
-
Save andresmijares/0364ae7ab837eef6a337 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.4.3) | |
// Compass (v1.0.1) | |
// ---- | |
//Mixins | |
@mixin name { | |
//atributes + selectors | |
} | |
@include name; | |
//Mixins with arguments | |
@mixin name2($color1, $color2) { | |
span { | |
background: $color1; | |
color: $color2; | |
} | |
//arguments, also supports math properties | |
} | |
//Color functions | |
a { | |
$color: #ff0000; | |
color: lighten($color, 20%); | |
background: darken($color, 10%); | |
background: complement($color); | |
background: desaturate($color, 50%); | |
background: mix(#ffffff, #000000); | |
} | |
//differences properties selector | |
a { | |
&:hover { | |
} | |
} | |
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
a { | |
color: #ff6666; | |
background: #cc0000; | |
background: cyan; | |
background: #bf4040; | |
background: #7f7f7f; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment