scss untuk loop nth child
$show-numbers: true;
@if $show-numbers {
@for $i from 1 through 5 {
&:nth-child(#{$i}) {
&:before {
content: '#{$i}';
}
}
}
}
Mehedi Islam Ripon