Powerful CSS-only Page Transitions with View Transitions

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

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

  • @dannnnnno
    @dannnnnno 4 месяца назад +2

    Great video man

    • @webbae
      @webbae  4 месяца назад

      Appreciate it

  • @johnpeterson8493
    @johnpeterson8493 4 месяца назад +1

    Nice. Thank you

  • @fletermarius58
    @fletermarius58 4 месяца назад +2

    I have no ideea why I did not subscribe earlier. Thanks for the value

    • @webbae
      @webbae  4 месяца назад

      Welcome aboard! 🫡

  • @surendarr2177
    @surendarr2177 4 месяца назад +1

    Awesome 😮 bae

    • @webbae
      @webbae  4 месяца назад +1

      Thanks Surendar 🤗

  • @ollieolllie
    @ollieolllie 20 дней назад

    Is it possible to control the duration and easing of the animations of the image and text?

  • @frontend-css-simplified
    @frontend-css-simplified 4 месяца назад +1

    Awesome Idea man. 👏
    I’ve got a tip for you. If you’re use Webflow native Custom Element for the image, heading & paragraph, then you can take advantage of Custom Attributes to easily add inline styles. 😉

    • @webbae
      @webbae  4 месяца назад

      tried this but in some instances we don't get access to the CMS property we need.
      for example. Custom Element with img tag doesn't give access to the image to set src. :(
      also, to my knowledge we need to express unique id's for each element, (even if they have a different tag, though I didn't verify this). using the embed, we can add a suffix string if we have multiple elements transitions using view-transition-name=slug.

  • @kudz
    @kudz 4 месяца назад +8

    I love this.
    Let's all just pretend Safari doesn't exist😇

    • @tinny77
      @tinny77 2 месяца назад

      it's supported since september 2024

  • @welling1
    @welling1 4 месяца назад +1

    This is all good locally, but aren't there major rendering issues, epecially with slower bandwidth users?

    • @webbae
      @webbae  3 месяца назад

      There's more calculation I'm sure but it's most likely going to be more performant than any JS solution. These kinds of transitions are all over the place in mobile apps too. I think it's fine :).

  • @nier3434
    @nier3434 4 месяца назад +1

    Material io has fantastic ux documentation for this type of feature

    • @webbae
      @webbae  3 месяца назад +1

      I always learn a ton from their docs! I will have a look at what they say about cards!

    • @webbae
      @webbae  3 месяца назад

      anything I missed btw?

    • @nier3434
      @nier3434 3 месяца назад +1

      ​@webbae It's all up to us, but in their docs they have a quick fade of content in between full size and card size. "Fade content out before fading new content in to maintain a clean design"
      Also, can you recreate or get close to recreating their carousel in webflow? It has a grow/shrink with size hierarchy and parallax

    • @webbae
      @webbae  3 месяца назад +1

      @@nier3434 this one? m3.material.io/components/carousel/overview

    • @nier3434
      @nier3434 3 месяца назад

      @@webbae yes 😁

  • @DSOlaLG
    @DSOlaLG 4 месяца назад +2

    I understand why I haven't seen this feature, it's not supported by all browsers

    • @webbae
      @webbae  3 месяца назад

      yea just came to Safari but no word from firefox :(. Nice that it's a progressive enhancement and fallback behavior works for normal navigation.

  • @heatherliu6856
    @heatherliu6856 4 месяца назад

    This video sold me on Pygmy goats

    • @webbae
      @webbae  4 месяца назад +1

      you are sold? you are buying a goat?