Last active
August 29, 2015 14:15
-
-
Save jameswragg/c78b89c7987a4c5fead2 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.12) | |
// Compass (v1.0.3) | |
// ---- | |
// Example SCSS file | |
$primaryColor: #eeffcc; | |
$container-width: 100%; | |
// consume variables | |
.container { | |
color: $primaryColor; | |
width: $container-width; | |
} | |
// maths | |
.one-quarter { | |
width: $container-width / 4; | |
} | |
// nesting | |
.nav { | |
margin: 0; | |
.item { | |
display: inline-block; | |
} | |
.link { | |
color: complement($primaryColor); | |
} | |
} | |
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
.container { | |
color: #eeffcc; | |
width: 100%; | |
} | |
.one-quarter { | |
width: 25%; | |
} | |
.nav { | |
margin: 0; | |
} | |
.nav .item { | |
display: inline-block; | |
} | |
.nav .link { | |
color: #ddccff; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment