7 View Transitions Recipes to Try
Craving for a view transition? Sunkanmi has lots of common transitions you can drop into your website right now!
Chrome 147 becomes the first to implement the CSSPseudoElement JavaScript interface, and allow the startViewTransition() method to be called on specific elements.…
:active-view-transition-type() pseudo-class targets the root element when an active view transition matches the specified type name. ::view-transition-new() pseudo-element applies styles to the new snapshot of an element during a view transition. ::view-transition-old() pseudo-element applies styles to the old snapshot of an element during a view transition view-transition-class property is used to group named elements in a class during a view transition Firefox 147 ships view transition types and anchor positioning, which are now supported in all browsers.…
We’ve been able to get the length of the viewport in CSS since… checks notes… 2013! Surprisingly, that was more than a decade ago. Getting the viewport width is as easy these days as easy as writing 100vw, but …
