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

Advanced Horizontal Scrolling with GSAP ScrollTrigger and Pinning

Customize the variables below to instantly engineer your prompt.

Required Variables

gsap-horizontal-scroll-pinning-narrative.txt
Act as a CSS and GSAP Layout Master. Architect a flawless 'faux-horizontal' scrolling experience embedded within a traditional vertical narrative. Command GSAP to target the massive [CONTAINER_SELECTOR] wrapper, executing a hard pin (`pin: true`) while simultaneously mapping the vertical scroll delta to horizontally translate the inner [PANEL_SELECTOR] array across the X-axis. Programmatically integrate localized [OVERLAY_TRIGGERS] utilizing nested ScrollTrigger instances (`containerAnimation`) that fire internal micro-animations (e.g., text reveals, image parralax) exactly when specific horizontal panels reach the dead-center of the user's viewport. You must dynamically calculate the [HORIZONTAL_OFFSET] based on the absolute `scrollWidth` of the panel track minus the `clientWidth` of the window to guarantee absolute responsiveness across all monitor sizes.

Example Text Output

"A 'faux-horizontal' section that locks the screen while content slides sideways, triggering internal text reveals as each panel enters."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced Horizontal Scrolling with GSAP ScrollTrigger and Pinning" prompt used for?

A 'faux-horizontal' section that locks the screen while content slides sideways, triggering internal text reveals as each panel enters.

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.