Questions tagged [amp-animation]
5 questions
2
votes
0 answers
Animate amp-img through position-observer: Failing with clip-path... Am I dumb?
html workers.
I am struggling with amp-html animation.
I want to animate an amp-img as it enter the viewport. So far so good. We have done that.
However: despite being referenced in the docs as working: This won't work.
Pug code:

mainframeai
- 41
- 2
2
votes
0 answers
amp-animation onload runs keyframes
I am trying to display a header only when the user scrolls up, for that, I managed to get it to work after the user has started scrolling.
However, the header is displayed on the load time event because of amp's on="enter..." action. I tried to find…

dryleaf
- 415
- 3
- 18
1
vote
1 answer
Alternate text in AMP
I'd like to have a line of text fade in fast, stay up for about 5 seconds, fade out fast, then have a different line of text fade in fast, stay for about 5 seconds, fade out fast, then have this repeat infinitely in AMP. What's the best way to do…

proStrategist
- 21
- 5
1
vote
0 answers
Is it possible to do conditional handler in AMP?
I need to show/hide menu only using amp-animation. I created two different amp-animations showMenu and hideMenu. My first attempt was to do something like that

Vitalii Korsakov
- 45,737
- 20
- 72
- 90
1
vote
1 answer
How can I seek to a specific time and then start the animation? (goto and play)
Is it possible to jump to a specific time and start playing the animation after a text was tapped?
Restart
Pause
simonwidjaja
- 549
- 2
- 6
- 13

simonwidjaja
- 549
- 2
- 6
- 13