scss conditional style

Solutions on MaxInterview for scss conditional style by the best coders in the world

showing results for - "scss conditional style"
Martina
10 Jan 2017
1$p: 3;
2
3@while $p < 5 {
4  .item-#{$p} {
5    
6        color: red;
7    
8        $p : $p + 1;
9  
10    }
11}
12