繰り返し処理をする方法 (@for/@while)
参考:
繰り返し文・条件分岐を使ってラクして Sass を書いてみよう!| bagelee ベーグリー
初心者のための SCSS。条件分岐の if 文、反復処理 for 文などを使ってみよう。| Mdesign Works
Math sequences with Sass | The Sass Way
Sass control directives: @if, @for, @each and @while | The Sass Way
SASS Control Directives | DEV Community
Sass 101 – A newb’s guide: Operations range of numbers – GitHub Gist
How to dynamically generate a list of classes with commas separating them – Stack Overflow
@for
参考:
for 文で一定パターンの CSS を生成する | ハックノート
step
Writing a loop that increments by a value other than 1 in Sass – Stack Overflow