Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
15 lines (14 sloc) 333 Bytes
// @mixin trbl
// @description 要素の中央配置(画像以外は$widthと$heightの指定が必須)
// @param $width {Number} 数値
// @param $height {Number} 数値
@mixin trbl($width: null, $height: null) {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: $width;
height: $height;
margin: auto;
}
You can’t perform that action at this time.