Last active
August 29, 2015 14:11
-
-
Save doughamlin/57ce9805daa9256064a1 to your computer and use it in GitHub Desktop.
Random Sass mixins I've made for myself.
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
@mixin bg($url, $color: transparent, $repeat: no-repeat, $position: center center, $size: contain) { | |
background: $color url($url) $repeat $position; | |
background-size: $size; | |
} | |
@mixin size($width, $height: $width) { | |
width: $width; | |
height: $height; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment