Reputation: 165
Each time I try to animate something inside a div, i'm getting errors: The attribute 'animate-in-duration/animate-in' may not appear in tag 'div', which i suppose shouldn't happen since provided examples are animated divs as well. How can I fix this? I think that some errors I'm getting may be related to the fact that I'm using pug, but these seem weird even in this case.
div(animate-in="fly-in-left" animate-in-duration="0.5s")
amp-img(src=`${source}` layout="responsive" width="1" height="1")
.container.relative(animate-in="fade-in" animate-in-duration="1s")
amp-fit-text(layout="responsive" max-font-size="28" width="1" height="0.1" ) TEXT
Upvotes: 0
Views: 88