for in sass

Solutions on MaxInterview for for in sass by the best coders in the world

showing results for - "for in sass"
Agustín
26 Nov 2016
1@for $i from 1 through 3 {
2  ul:nth-child(3n + #{$i}) {
3    background-color: lighten($base-color, $i * 5%);
4  }
5}
Eya
25 Jul 2019
1$base-color: #036;
2
3@for $i from 1 through 3 {
4  ul:nth-child(3n + #{$i}) {
5    background-color: lighten($base-color, $i * 5%);
6  }
7}
8
9
10
11
12