Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#CSS

Advanced CSS View Transitions API Implementation

Customize the variables below to instantly engineer your prompt.

Required Variables

css-view-transitions-api-implementation.txt
Act as a Cutting-Edge Frontend Engineer. Implement a highly cinematic, app-like navigation experience utilizing the native CSS View Transitions API (`document.startViewTransition()`) within a complex [PAGE_ROUTING_FRAMEWORK] (e.g., Next.js or Astro). You must explicitly assign `view-transition-name` properties to the shared [DOM_ELEMENTS] (e.g., a product image in a grid that expands into the hero image on the detail page). Write the advanced CSS pseudo-element selectors (`::view-transition-old`, `::view-transition-new`) required to precisely choreograph the cross-fade, scale, and translation math over the [TRANSITION_DURATION]. Detail the strict accessibility fallbacks required to abort the transition if the user has 'prefers-reduced-motion' enabled.

Example Text Output

"A breathtaking, native-browser layout transition that smoothly morphs a thumbnail image directly into a full-page hero layout during a route change, executing at a flawless 60fps without heavy JS animation libraries."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced CSS View Transitions API Implementation" prompt used for?

A breathtaking, native-browser layout transition that smoothly morphs a thumbnail image directly into a full-page hero layout during a route change, executing at a flawless 60fps without heavy JS animation libraries.

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.