Powerful CSS-only Page Transitions with View Transitions

  Рет қаралды 2,965

Web Bae

Web Bae

Күн бұрын

Learn how to create dynamic and eye-catching page transition animations in Webflow using only CSS and the View Transitions API. We'll take a look at @view-transition css rule, view-transition-name CSS property, and how to make it all work with the Webflow CMS. I used to reach for complex Javascript libraries like Barba.js and GSAP for this but now we can do it easily with a few lines of CSS.
// CLONE IT
👯‍♀️ try.webflow.co...
// FREE resources
✂️ Code Snippet Library: code-snippets-...
🤝 CSS Nobody Told You About: www.webbae.net...
🚗 Roadmap to learn Webflow: www.webbae.net...
🧱 Build faster with my component library: webbae.net/com...
// Premium content
🤝 Patreon: / webbae
🕸️ Advanced Webflow Course (201): www.webbae.net...
// GSAP Discounts
🎢 Get 10% GSAP: WEBBAE10
♣️ Creative Coding Club (My favorite GSAP lessons): www.creativeco...
// Connect
🙋‍♀️ Join the Discord: / discord
🐥 Follow Me! / webisbae

Пікірлер: 22
@kudz
@kudz 19 күн бұрын
I love this. Let's all just pretend Safari doesn't exist😇
@johnpeterson8493
@johnpeterson8493 18 күн бұрын
Nice. Thank you
@nier3434
@nier3434 18 күн бұрын
Material io has fantastic ux documentation for this type of feature
@webbae
@webbae 14 күн бұрын
I always learn a ton from their docs! I will have a look at what they say about cards!
@webbae
@webbae 14 күн бұрын
anything I missed btw?
@nier3434
@nier3434 14 күн бұрын
​@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 14 күн бұрын
@@nier3434 this one? m3.material.io/components/carousel/overview
@nier3434
@nier3434 14 күн бұрын
@@webbae yes 😁
@dannnnnno
@dannnnnno 19 күн бұрын
Great video man
@webbae
@webbae 19 күн бұрын
Appreciate it
@fletermarius58
@fletermarius58 20 күн бұрын
I have no ideea why I did not subscribe earlier. Thanks for the value
@webbae
@webbae 19 күн бұрын
Welcome aboard! 🫡
@welling1
@welling1 19 күн бұрын
This is all good locally, but aren't there major rendering issues, epecially with slower bandwidth users?
@webbae
@webbae 14 күн бұрын
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 :).
@frontend-css-simplified
@frontend-css-simplified 20 күн бұрын
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 20 күн бұрын
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.
@surendarr2177
@surendarr2177 20 күн бұрын
Awesome 😮 bae
@webbae
@webbae 20 күн бұрын
Thanks Surendar 🤗
@DSOlaLG
@DSOlaLG 19 күн бұрын
I understand why I haven't seen this feature, it's not supported by all browsers
@webbae
@webbae 14 күн бұрын
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 20 күн бұрын
This video sold me on Pygmy goats
@webbae
@webbae 20 күн бұрын
you are sold? you are buying a goat?
The Lesson I Wish I Had on Coding as a Webflow Dev
27:36
Web Bae
Рет қаралды 2,4 М.
Why I won't switch to Framer (vs. Webflow)
18:25
Web Bae
Рет қаралды 7 М.
Synyptas 4 | Арамызда бір сатқын бар ! | 4 Bolim
17:24
How it feels when u walk through first class
00:52
Adam W
Рет қаралды 22 МЛН
Крутой фокус + секрет! #shorts
00:10
Роман Magic
Рет қаралды 41 МЛН
CH3 - Linear Regression - Part 3
12:08
Aïdea HU
Рет қаралды 3
Style queries are better than I thought they would be
7:29
Kevin Powell
Рет қаралды 24 М.
Page Transitions with 0 Lines of JAVASCRIPT!
6:19
developedbyed
Рет қаралды 46 М.
ShadCN’s Revolutionary New CLI
12:11
Jack Herrington
Рет қаралды 52 М.
The Brutally Honest Guide to Building Better Cards
9:51
Web Bae
Рет қаралды 2,6 М.
Spice Up Your Site With SvelteKit Page Transitions
17:45
Joy of Code
Рет қаралды 20 М.
React visually explained: 'use client'
15:57
Delba
Рет қаралды 52 М.
I redesigned YOUR websites
20:44
DesignSpo
Рет қаралды 48 М.
Please stop using px for font-size.
15:18
Coder Coder
Рет қаралды 197 М.