Appearance on first load (amp-fx)
-
Hi! I am playing around with
amp-fx-collection
components and noticed that it has a weird appearance on page first load (no cache). I can see the image in first miliseconds then it disappears and amp-fx fade-in animation starts (video attached). How I can avoid displaying images before amp-fx?Video: https://streamable.com/u7kzcy
HTML:
<img src="'. $image_url[0] .'" height="800" width="1700" alt="'. $attributes["image_alt"] .'" amp-fx="fade-in" data-duration="2000ms" />
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Appearance on first load (amp-fx)’ is closed to new replies.