How would I detect that a browser supports css transitions using javascript (and without using modernizr)?
Tell me more
×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Perhaps something like this. Basically it's just looking to see if the CSS
Adapted from this gist. All credit goes there. | |||||||||||||||||||||
|
Also you can use the following approach (kind of one line function):
| |||
|
Here the way I used:
| |||||
|