Open 09Ria09 opened 5 years ago
the element should stay visible after the animation ends
the element's opacity is set to 0 by this:
html:not(.no-js) [data-aos^="zoom"][data-aos^="zoom"] { opacity: 0; transition-property: opacity,-webkit-transform; transition-property: opacity,transform; transition-property: opacity,transform,-webkit-transform; }
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.min.css">
AOS.init({ useClassNames: true, initClassName: false, animatedClassName: 'animated' });
data-aos="zoomInUp
Check if animatedClassName is set to default before applying
animatedClassName
how to fix?
i fix it by using developer tool to modify aos.css properties and save to local and load it
This is:
Specifications
Expected Behavior
the element should stay visible after the animation ends
Actual Behavior
the element's opacity is set to 0 by this:
Steps to Reproduce the Problem
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.min.css">
data-aos="zoomInUp
Possible Solution
Check if
animatedClassName
is set to default before applying