moyumo
11/11/2013 - 1:20 AM

positionの位置指定まとめて出力。

positionの位置指定まとめて出力。

@mixin posa ($top: null, $right: null, $bottom: null, $left: null) {
	position: absolute;
	top: $top;
	right: $right;
	bottom: $bottom;
	left: $left;
}
@mixin posr ($top: null, $right: null, $bottom: null, $left: null) {
	position: relative;
	top: $top;
	right: $right;
	bottom: $bottom;
	left: $left;
}