You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//ScrollContainer.tsximportReactfrom'react';import{ScrollSection}from'./ScrollSection';interfaceScrollContainerProps{
children: React.ReactNode;}exportfunctionScrollContainer({ children }: ScrollContainerProps){return(<divclassName="h-[300vh]"><divclassName="sticky top-0 h-screen">{children}</div><divclassName="px-4 py-8 space-y-96"><ScrollSectiontitle="Dynamic Movement"description="Watch as the object flows smoothly from side to side as you scroll."/><ScrollSectiontitle="Fluid Animation"description="The object dances through space with synchronized rotations and movements."/>{/* I want to add image background behind the model but text in front of model only for this section*/}<ScrollSectiontitle="Color Transitions"description="Experience smooth color transitions as the object moves through its path."variant="with-background"/></div></div>);}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to move to last section "Color Transitions" text and background image in front of model?
Deployed preview - https://astonishing-pony-00dd84.netlify.app/
Additional Files
Beta Was this translation helpful? Give feedback.
All reactions