Skip to content
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

fix jitter & add easing to hero section logo animation #298

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dalailahner
Copy link

Description of the Change

fix jitter & add easing to hero section logo animation because the CSS "top" property only returns integers when animating, which results in jittery animations.

Alternate Designs

-

Benefits

  • smoother animation

Possible Drawbacks

maybe some very old browsers won't render the animation because the "translate" property has 94.28% global browser support, whereas "top" has 96.42% global browser support (source: caniuse.com)

Applicable Issues

-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant