Detect CSS transitions using Javascript (and without modernizr)?
Perhaps something like this. Basically it’s just looking to see if the CSS transition property has been defined: function supportsTransitions() { var b = document.body || document.documentElement, s = b.style, p = ‘transition’; if (typeof s[p] == ‘string’) { return true; } // Tests for vendor specific prop var v = [‘Moz’, ‘webkit’, ‘Webkit’, ‘Khtml’, … Read more