How to use GSAP to animate the Progress Bar element

Поделиться
HTML-код
  • Опубликовано: 29 окт 2024

Комментарии • 2

  • @mikebooth7269
    @mikebooth7269 2 года назад

    You have the duration hard coded, but what if the loading takes 2 seconds, or 7 seconds?

    • @sup4mike
      @sup4mike  2 года назад

      It's the duration of the animation. And it will only start when the element will be visible in the viewport