How to Scale a Circular Background While Keeping an Image Fixed on Scroll in React? #2360
Unanswered
SanthoshPrabhakaranS
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working on a React project where I want to create an effect where a circular background element scales up as the user scrolls down the page. However, I also want to keep an image inside this circular background fixed in size. Essentially, the circle grows larger, but the image remains the same size.
Here's my current code for this component:
I'm trying to make scroll animation like this website with the yellow element scaling. How to do that using framer motion. I'm trying this but it's scaling in smaller number.
Beta Was this translation helpful? Give feedback.
All reactions