sassドキュメント:variables
sassの変数にはスコープが存在する。
Variables are only available within the level of nested selectors where they’re defined.
http://sass-lang.com/documentation/file.SASS_REFERENCE.html#variables_
ネストに気をつけて使えば他の変数とかぶる心配が減るので、気楽に変数を利用できる。
sassの変数にはスコープが存在する。
Variables are only available within the level of nested selectors where they’re defined.
http://sass-lang.com/documentation/file.SASS_REFERENCE.html#variables_
ネストに気をつけて使えば他の変数とかぶる心配が減るので、気楽に変数を利用できる。