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

Animate on hover #32

Open
BenJackGill opened this issue Jan 30, 2020 · 1 comment
Open

Animate on hover #32

BenJackGill opened this issue Jan 30, 2020 · 1 comment

Comments

@BenJackGill
Copy link

Animations are revealing correctly on scroll, but can we make them animate on hover?

Would be good for buttons etc.

Have tried this (and similar variations) without luck:

.button-element:hover {
animation: jackInTheBox 2s;
}

@lpnorton96
Copy link

@BenJackGill I've just tried this and it's working as expected for me, might be worth trying the prefix
.button-element:hover{
animation: jackInTheBox 2s;
-webkit-animation: jackInTheBox 2s;
}

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