Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
absoluteを指定する時いちいち全部書かなくていいようにしたものです
@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
You can’t perform that action at this time.