scss | if文で条件分岐 css scssでもif文が使える。 条件は変数にくる引数で判定する。 @if 変数 ==引数 { }else if { } See the Pen scssのif文 by morishougo (@morimori05) on CodePen.