The 👜 Bag of Tricks ✨ for Astro's Client Router | https://events-3bg.pages.dev
Tools, Info, Tips & Tricks
Enhance Your Development Skills with the View Transition API
Just moved to our new home at vtbag.dev!
Follow The Bag to catch the next cool tricks we’ll pull out!
With this new addition you can: ✔️ Apply styles to multiple elements ✔️ Keep your CSS cleaner ✔️ Streamline complex animations
With this new addition you can: ✔️ Apply styles to multiple elements ✔️ Keep your CSS cleaner ✔️ Streamline complex animations
I might add z-index: 1 to ::view-transition-group(nav) and leave it off page-header and hero, but that is just a personal preference 🙂
I might add z-index: 1 to ::view-transition-group(nav) and leave it off page-header and hero, but that is just a personal preference 🙂
This thing can make your view transition setup a lot simpler when it comes to controlling the direction of cross-document view transitions.
vtbag.dev/tools/turn-s...
This thing can make your view transition setup a lot simpler when it comes to controlling the direction of cross-document view transitions.
vtbag.dev/tools/turn-s...
They're such an exciting new part of the web platform, and I'm elated to see new and boundary-pushing effects making their way into production.
#WebDev #ViewTransitions #CSS
piccalil.li/blog/some-pr...
They're such an exciting new part of the web platform, and I'm elated to see new and boundary-pushing effects making their way into production.
#WebDev #ViewTransitions #CSS
View Transition API · Ways to create smooth, instant page transitions ilo.im/16844p by Brad Woods
_____
#ModernCSS #ViewTransitions #Animations #WebPages #API #Browser #WebDev #Frontend #CSS #JavaScript
View Transition API · Ways to create smooth, instant page transitions ilo.im/16844p by Brad Woods
_____
#ModernCSS #ViewTransitions #Animations #WebPages #API #Browser #WebDev #Frontend #CSS #JavaScript
piccalil.li/blog/start-i...
piccalil.li/blog/start-i...
Scoped view transitions officially made it into the spec and I managed to miss it for three whole weeks? Unbelievable!
- Element.prototype.startViewTransition()
- new transitionRoot property
+ view transition name isolation with contain: view-transition
Scoped view transitions officially made it into the spec and I managed to miss it for three whole weeks? Unbelievable!
- Element.prototype.startViewTransition()
- new transitionRoot property
+ view transition name isolation with contain: view-transition
Or you can now use the brand-new waitUntil() function on the view transition object to pass a promise to wait for!
Or you can now use the brand-new waitUntil() function on the view transition object to pass a promise to wait for!
Now guess which ones?
Now guess which ones?
Let’s hope Level 2 makes it onto the to-do list soon.
To celebrate, here is a short video freshly captured in Firefox 144.
To celebrate, here is a short video freshly captured in Firefox 144.
In 2024 we shipped Cross-Document VTs, added refinements such as `view-transition-class` and VT Types, and also welcomed Safari in adding VT support.
And this year … well, I wrote a post summing it all up.
In 2024 we shipped Cross-Document VTs, added refinements such as `view-transition-class` and VT Types, and also welcomed Safari in adding VT support.
And this year … well, I wrote a post summing it all up.
It's so new, it's not even spec'd yet.
So might be subject to change.
As always, you can find the details in The Bag.
It's so new, it's not even spec'd yet.
So might be subject to change.
As always, you can find the details in The Bag.
That is, if I got it right, @nomster.bsky.social.
That is, if I got it right, @nomster.bsky.social.
As soon as a browser has minimal view transition support, the client router will use that instead of the fallback simulation.
As soon as a browser has minimal view transition support, the client router will use that instead of the fallback simulation.
dom.viewTransitions.enabled -> true
in about:config
This will be the default in Firefox 144 (Oct), so some basic view transition support will be available across all major browsers soon!
yes, "normal" view transitions are document global. All groups defined in the DOM will run when the view transition starts.
That gives you two options:
a) use scoped view transitions
b) guard your view transition names and switch those off, you want to suppress.
yes, "normal" view transitions are document global. All groups defined in the DOM will run when the view transition starts.
That gives you two options:
a) use scoped view transitions
b) guard your view transition names and switch those off, you want to suppress.