-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added animation to FillArrow #335
Conversation
Added the animation of left to right in FillArrow. The logic can be copied over to other .scss files if you want to animate the background.
✅ Deploy Preview for parcel-pointers ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
src/styles/FillArrow.scss
Outdated
|
||
.reset { | ||
position: relative; | ||
// left: 5rem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rm
src/components/FillArrow.tsx
Outdated
return ( | ||
<> | ||
<div ref={ref} className="overall-container"> | ||
<VscDebugRestart className="reset" onClick={() => setAnimate(false)} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove this button because its kind of buggy and doesn't really feel good to click to see the animation again. Let's just have the animation loop automatically instead, like a GIF.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can't seem to animate it like a gif but i removed the button. Probably will look into it at another date
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I can take a look as well, but I will ticket.
Removed a Button
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, will ticket looping the animation.
Added the animation of left to right in
FillArrow. The logic can be copied over to
other .scss files if you want to animate the background.
Summary
Closes #163
of the div but it changes it in the entirety. Can i use this code to achieve my goal?
@Keyframes example {
from {background-color: red;}
to {background-color: yellow;}
}
Screenshots
Screen.Recording.2023-10-20.at.12.09.21.AM.mov