.ui-kankan-icon.iconfont {
  color: currentColor;
  font-size: 1em;

  &.small {
    font-size: 12px;
  }

  &.medium {
    font-size: 16px;
  }

  &.big {
    font-size: 20px;
  }
}

.icon {
  position: relative;
  

  .tip {
    color: rgba(255,255,255,1);
    position: absolute;
    transform-origin: top center;
    background: #000000;
    border-radius: 4px;
    opacity: 0;
    padding: 10px;
    margin: 10px;
    font-size: 12px;
    transition: opacity .3s ease;
    pointer-events: none;
    white-space: nowrap;
  }

  &:hover {
    z-index: 999;
    .tip {
      opacity: 0.8;
    }
  }
}

  
.tip-h-right .tip{
  right: 0;
  margin-right: 0;
}

.tip-h-left .tip {
  left: 0;
  margin-left: 0;
}

.tip-h-center .tip {
  left: 50%;
  transform: translateX(-50%);
  margin-left: 0;
  margin-right: 0;
  z-index: 10;
}

.tip-v-top .tip {
  bottom: 100%;
}

.tip-v-center .tip {
  top: 50%;
  transform: translateY(-50%);
}

.tip-v-bottom .tip {
  top: 100%;
}