Catpow SCSS

background image

sz

widthやheightなどで用いるサイズの値を返します。translate_size関数が定義されていればその関数から、グローバル変数$sizesが定義されていればそれからサイズの値を取得します。
scss
@import 'catpow';

.box{
	width:sz(20);
}
css
.box {
  width: 20px;
}