What on Earth is the `types` Descriptor in View Transitions?

The @view-transition at-rule has two descriptions. One is the commonly used navigation descriptor. The second is types, the lesser-known of the two, and one that probably envies how much attention navigation gets. But read on to learn why we need types and how it opens up new possibilities for custom view transitions when navigating between pages.


What on Earth is the `types` Descriptor in View Transitions? originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.

https://css-tricks.com/what-on-earth-is-the-types-descriptor-in-view-transitions/

Établi 1d | 29 janv. 2025 à 15:10:17


Connectez-vous pour ajouter un commentaire

Autres messages de ce groupe

The Mistakes of CSS

All of the things that the CSS Working Group would change if they had a time-traveling Delorean to go back and do things over.


30 janv. 2025 à 16:40:05 | CSS tricks
Revisiting CSS Multi-Column Layout

After 20 years since Andy Clarke first published his book about Multi-Column Layout in CSS, he's back to encourage a fresh look at CSS columns for enhanced readability and design flexibility.

<

27 janv. 2025 à 16:50:07 | CSS tricks
Positioning Text Around Elements With CSS Offset

When it comes to positioning elements on a page, including text, there are many ways to go about it in CSS — the literal position property with corresponding inset-* prope

24 janv. 2025 à 16:50:19 | CSS tricks
Some Things You Might Not Know About Custom Counter Styles

I was reading through Juan’s recent Almanac entry for the @counter-style at-rule and I’ll be darned if he didn’t uncover and unpack some extremely interesting things

23 janv. 2025 à 17:40:29 | CSS tricks
Creating a “Starred” Feed

Chris wrote about “Likes” pages a long while back. The idea is rather simple: “Like” an item in your RSS reader and dis

21 janv. 2025 à 14:40:17 | CSS tricks
Fancy Menu Navigation Using Anchor Positioning

Anchor positioning can be great for little interactive effects — as Temani Afif shows off with this clever idea for a menu hover.


17 janv. 2025 à 15:40:06 | CSS tricks
Web-Slinger.css: Across the Swiper-Verse

Lee Meyer with a super clever idea using scroll-driven animations as an interaction to "like" or "dislike" something.


15 janv. 2025 à 17:20:12 | CSS tricks