TGViewer
Front End World Front End World @front_end_first · 25.8K subscribers
Post #6797 1.4K
View Transitions: Use the new attr() or match-element for the view-transition-name?

At CSS Day, “YouTube guy” Kevin Powell showed a lot of demos that relied on the advanced attr() function. In one of the examples he used attr() to set view-transition-name values — a technique I covered in my article on advanced attr() function.But then during the Q&A, Cyd Stumpel wondered if he couldn’t just use match-element there.The short answer to that question is yes. The longer answer is … It Depends™

https://www.bram.us/2026/06/19/view-transition-name-attr-or-match-element/
  • 👍 1
More from @front_end_first
  1. Oct 15, 2026A visual notation for React’s parent and owner trees Introducing a visual notation for sho…
  2. Oct 15, 2026Astro Tutorial: Make a Static Site with Interactive Components This Astro tutorial shows h…
  3. Oct 15, 2026React’s New browser API: Rendering Components Only in the Browser Learn how React’s new Ca…
  4. Oct 14, 2026Why has Shopify dropped React Native? It’s only been a year since the e-commerce platform…
  5. Oct 14, 2026Building a Minimal Architecture Studio Landing Page with Astro & GSAP https://tympanus.net…
  6. Oct 13, 2026How to test MCP Apps for accessibility, and why it matters Testing MCP Apps for accessibil…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →