Joined July 2012
·
Posted to
Iterating over nth-children w/ Sass
over 1 year
ago
This did not work for me. The mixin definition is invalid that way.
What worked for me
scss
li {
@for $i from 1 through 4 {
&:nth-child(#{$i}) {
transition: all .2s #{$i * .1}s ease-in;
}
}
}
Achievements
90 Karma
0 Total ProTip Views
Altruist
Increase developer well-being by sharing at least 20 open source projects
Bear
Have at least one original repo where Objective-C is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Mongoose 3
Have at least three original repos where Ruby is the dominant language
Mongoose
Have at least one original repo where Ruby is the dominant language
Charity
Fork and commit to someone's open source project in need
Komodo Dragon 3
Have at least three original repos where Java is the dominant language
Komodo Dragon
Have at least one original repo where Java is the dominant language
Forked
Have a project valued enough to be forked by someone else
How does the
unseen
feature work? I would assume it is a single bit shared across email clients.In my case I have an api that needs to parse all the emails in an inbox. If we restart the api it should parse all the emails in the inbox. But if we are within a task (that runs every few minutes) we should only read in the emails since x date. Any tips on how to structure thsi?