animate.css icon indicating copy to clipboard operation
animate.css copied to clipboard

Update animate.css

Open ayushgupta9906 opened this issue 2 years ago • 0 comments

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.

ayushgupta9906 avatar Oct 26 '23 17:10 ayushgupta9906