It appears that there are duplicated property names in the CSS code you've provided. In CSS, when you have multiple declarations for the same property within the same selector, the last declaration will override the previous ones. Therefore, setting a default value for a property would involve either removing the duplicates or ensuring that the desired default value is the last declaration.
If you want to set a
In this code, --animate-duration is defined with a default value of 1s in the :root pseudo-class. This ensures that the variable always has a value, but it can still be overridden or modified elsewhere in your CSS if needed.
It appears that there are duplicated property names in the CSS code you've provided. In CSS, when you have multiple declarations for the same property within the same selector, the last declaration will override the previous ones. Therefore, setting a default value for a property would involve either removing the duplicates or ensuring that the desired default value is the last declaration.
If you want to set a In this code, --animate-duration is defined with a default value of 1s in the :root pseudo-class. This ensures that the variable always has a value, but it can still be overridden or modified elsewhere in your CSS if needed.