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

Smooth Animations Gone? #55

Closed
camerondugan opened this issue Jan 20, 2022 · 1 comment
Closed

Smooth Animations Gone? #55

camerondugan opened this issue Jan 20, 2022 · 1 comment

Comments

@camerondugan
Copy link

In v1, when adding drop shadow or scale changes on hover, my website would automatically smoothly animate between those values, but it doesn't seem to be the case in v2? v2 just has an instant change from one to another. If this is intentional, is there a way for me to opt back into this feature? Thanks

@kevquirk
Copy link
Owner

It was intentional. I retrospectively decided that the transition animation was a little too opinionated.

Adding it back is really simple. Create a custom CSS file (more info here) and add transition: 0.4s; to any element you want the transition animation.

For example, if you want the animation on hover effect for links, do this:

a {
transition: 0.4s;
}

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

No branches or pull requests

2 participants