I've created a custom dropdown element. The number of options it can have is based on a Database Table (I haven't created the Table yet). Like the number of options can be 4 or even 5 or anything for that matter. I'll use PHP to give the number of options for the dropdown. Each of the options are in an li
tag. The li
siblings are inside the ul
tag. I have a CSS file which animates the li
items. But instead of animating them all at once (in which case I would just animate the ul
and would get the same effect), what I want to do is to animate them one by one. Each li
will have a delay which is progressive. For example if the first li
has a 0s
delay and a duration of 300ms
then the second will start when the first ends, that is the second li
will have a delay of 300ms
with the same duration. The duration remains the same, just the delay
changes so as to give it a follow-the-previous kind of effect. But since I don't know the number of options in the dropdown, how am I gonna do the same? I'm assuming it would require calculations but since CSS doesn't support it, there is no way to do it using native CSS. My best guess is to use jQuery.
- type casting boost multiprecision integer returns wrong answer
- Using vaultr in R to pull a password from Hashicorp Vault
- set a user's secondary calendar as selected in apps script
- what is the best algorithm for this problem
- TypeError: 'coroutine' object is not subscriptable in python Quart Framework
- Can we perform (modulation operation)% on negative integers? what will be result?
- JSONObject text must begin with '{' at 1 [character 2 line 1] , yet JSON is valid and code works with a differently formatted JSON file
- Understand the “Observer Pattern” with a real world example
- aggregation search request Elasticsearch DSL
- Hibernate ColumnTransformer and DataJpaTest