Created
April 15, 2010 15:53
-
-
Save stephenway/367278 to your computer and use it in GitHub Desktop.
Sass Position Mixin
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($type: relative, $top, $right, $bottom, $left, $z) { | |
position: $type; | |
top: $top; | |
right: $right; | |
bottom: $bottom; | |
left: $left; | |
z-index: $z; | |
} |
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
@import "position"; | |
h1 { | |
@include position(relative, 10px, 30px, 10px, 30px); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment