code: function CFW_transitionCssDuration($node) {
          var durationArray = [0]; // Set a min value -- otherwise get `Infinity`
          $node.each(function() {
              var durations = $node.css('transition-duration') || $node.css('-webkit-transition-duration') || $node.css('-moz-transition-duration') || $node.css('-ms-transition-duration') || $node.css('-o-transition-duration');
              if (durations) {
                  var times = durations.split(',');
                  for (var i = times.length; i--;) { // Reverse loop should be faster
                      durationArray = durationArray.concat(parseFloat(times[i]));
                  }
              }
          });
  
          var duration = Math.max.apply(Math, durationArray); // http://stackoverflow.com/a/1379560
          duration = duration * 1000; // convert to milliseconds
  
          return duration;
      }
docs: Get longest CSS transition duration