How can I comma-separate classes in Sass (scss) without repeating the CSS itself in the compiled code?
I have:
@for $i from 1 through ($maxcolumns){
.col#{$i}{
//code for all columns
}
}
which generates
.col1{
//code
}
.col2{
//code
}
but I prefer
.col1, .col2, ...{
//code
}
Thanks!