Created
February 22, 2020 17:07
-
-
Save mio-U-M/e41971eb3f6adfe6e940063749e1dc6a to your computer and use it in GitHub Desktop.
absoluteを指定する時いちいち全部書かなくていいようにしたものです
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 position-ab($top: auto, $right: auto, $bottom: auto, $left: auto) { | |
position: absolute; | |
margin: auto; | |
top: $top; | |
right: $right; | |
bottom: $bottom; | |
left: $left; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment