I am having an issue with a Sass loop. I want to make the animation .1
seconds, .2
seconds etc...Here is the loop:
@for $i from 1 through 6 {
#elem span:nth-child(#{$i}) {
animation-delay: .#{$i}s;
}
}
The issue seems to be with the period here: .#{$i}s
If I remove it it works fine, but I get my animation in seconds and not fractions of a second as I would like it.