Last active
March 31, 2020 09:20
-
-
Save svondervoort/3fa50f0b0ad1cb7c7db3caf701315f53 to your computer and use it in GitHub Desktop.
SCSS Mixin collection
This file contains hidden or 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 position() | |
// Mixin for easy positioning | |
// All variables are optional | |
@mixin position($position: relative, $top: auto, $right: auto, $bottom: auto, $left: auto, $z-index: unset) { | |
position: $position; | |
top: $top; | |
right: $right; | |
bottom: $bottom; | |
left: $left; | |
z-index: $z-index; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment