code: function getCss3Prefix() {
    var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  
    if (opt.noCache || store.css3Prefix == null) {
      store.css3Prefix = reget();
    }
  
    return store.css3Prefix;
  
    function reget() {
      var div = document.createElement('div');
      var cssText = '-webkit-transition:all .1s; -moz-transition:all .1s; -o-transition:all .1s; -ms-transition:all .1s; transition:all .1s;';
      div.style.cssText = cssText;
      var style = div.style;
  
      if (style.webkitTransition) {
        return '-webkit-';
      }
  
      if (style.MozTransition) {
        return '-moz-';
      }
  
      if (style.oTransition) {
        return '-o-';
      }
  
      if (style.msTransition) {
        return '-ms-';
      }
  
      return '';
    }
  }
docs: from https://blog.csdn.net/qq_30100043/article/details/74719534