Last active
August 29, 2015 14:01
-
-
Save nicollecastrog/a3c38e6fee4b5f14c3ef 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.7) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
@mixin button($font-size, $bg) { | |
font-size: $font-size; | |
background: $bg; | |
} | |
p { | |
@include button(400px, white); | |
} | |
h1 { | |
@include button(30px, #bada55); | |
} |
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
p { | |
font-size: 400px; | |
background: white; | |
} | |
h1 { | |
font-size: 30px; | |
background: #bada55; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using SCSS mixins to set up functions you can then simply pass parameters to generate "easily-customizable" CSS.