@for $i from 1 to 10 {
.wrapper1.active li:nth-child(#{$i}) {
transition-delay: $i * 0.07s;
}
.wrapper2.active li:nth-child(#{$i}) {
transition-delay: $i * 0.07s;
}
}
Para cada elemento:child , loopear y agregarle 0.7s de delay a la transition.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.