I have this code;
@each $viewport, $viewport-val in $viewport-vars {
// Classes only apply once certain breakpoint is triggered.
@include media-query(nth($viewport-val, 1)) {
$_cols: nth($viewport-val, 2);
@while $_cols > 1 {
@for $i from 1 through $_cols {
@if $i == $_cols {
.pull-#{$viewport}-1/0 {
$col-width: (100 / $_cols * $i);
right: (percentage($col-width / 100));
}
} @else {
.pull-#{$viewport}-#{$i}-#{$_cols} {
$col-width: (100 / $_cols * $i);
right: (percentage($col-width / 100));
}
}
}
$_cols: $_cols - 1;
}
}
}
Where I have this line .pull-#{$viewport}-#{$i}-#{$_cols}
, I would like to add slash in the classname like so, #{$i}/#{$_cols}
Unfortunately this throws an error, does anyone know why?
B