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

Building Responsive GSAP MatchMedia Logic for Device-Specific Motion

Customize the variables below to instantly engineer your prompt.

Required Variables

gsap-matchmedia-responsive-animation-logic.txt
Act as a Senior Frontend Architect. Design an ironclad, responsive GSAP `matchMedia` framework explicitly engineered to handle vastly different device-specific timeline sequencing. For the rigid [BREAKPOINTS] (e.g., `(min-width: 1024px)`, `(max-width: 767px)`), define a highly complex, hardware-taxing [DESKTOP_MOTION] sequence involving 3D transforms, and contrast it against a violently simplified [MOBILE_REDUCTION] version designed to save mobile battery and prevent DOM lag. The JavaScript must gracefully account for massive [LAYOUT_CHANGES] (e.g., transitioning from a pinned horizontal scroll section into a standard vertical stack) and ensure that GSAP instances and ScrollTriggers are flawlessly killed, cleared, and recreated upon orientation resize events to absolutely prevent memory leaks.

Example Text Output

"A responsive animation system that delivers a full 3D experience on desktop while switching to a clean, 2D fade-in sequence on mobile devices."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Building Responsive GSAP MatchMedia Logic for Device-Specific Motion" prompt used for?

A responsive animation system that delivers a full 3D experience on desktop while switching to a clean, 2D fade-in sequence on mobile devices.

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.