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

Use CSS transitions for the hover effects #2

Open
isGabe opened this issue May 15, 2013 · 3 comments
Open

Use CSS transitions for the hover effects #2

isGabe opened this issue May 15, 2013 · 3 comments

Comments

@isGabe
Copy link

isGabe commented May 15, 2013

I say when it comes to enhancements like that, code for browsers of the present and future and let browsers of the past do without.

@pkarl
Copy link
Contributor

pkarl commented May 15, 2013

Here's some cool reading about how to do this. Having Modernizr as a dep would be lame, but if you're only detecting css animation features, you could probably do it in a line.

http://www.bradshawenterprises.com/blog/2011/a-jquery-function-to-animate-using-css3-transitions-if-possible-with-the-animate-fallback/

@mixinmax
Copy link
Owner

Yeah this does look cool. I'll take a look at it tonight. Cheers

@isGabe
Copy link
Author

isGabe commented May 15, 2013

I guess IE 9 doesn't support transitions, does it? So maybe the fallback is the way to go. I know Flexslider does the CSS animation with jQuery fallback, but not sure how it works. https://github.com/woothemes/flexslider

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

3 participants