@mixin clearfix {
  &:after {
    content: '';
    display: table;
    clear: both;
  }
}

@mixin scrollBar {
  &::-webkit-scrollbar-track-piece {
    background: transparent;
  }

  &::-webkit-scrollbar {
    width: 6px;
  }

  &::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 20px;
    transition:background-color 0.3s;
    &:hover{
      background: #909399;
    }
  }
}

@mixin relative {
  position: relative;
  width: 100%;
  height: 100%;
}
