I have a list ul>li*5 (not always the same amount). I set a counter for which I get:
1 2 3 4 5
li:nth-child(n):before {
counter-increment: skill;
content: counter(skill);
color: white;
}
The Question Can I use the counter(skill) inside a calc() or can I add units to it px em rem % ms s
I have tried:
transition: all 250ms linear #{counter(skill)} * 1s;
transition: all 250ms linear counter(skill) * 1s;
I want to have the delay increased for example:
li 1s delay
li 2s delay
li 3s delay
li 4s delay
li Xs delay