.container {
  position: relative;
  display: inline-block;
}
.tipsContainer {
  position: absolute;
  top: -0.5rem;
  width: auto;
  left: 50%;
  transform: translateX(-50%);

  background-color: rgba(0, 0, 0, 1);
  color: white;
  padding: 0.06rem 0.24rem;
  border-radius: 0.4rem;
  white-space: nowrap;
  &.topLeft {
    right: 0%;
    left: auto;
    transform: translateX(0);
  }
}
.tri {
  position: absolute;
  bottom: -0.12rem;
  width: 0.24rem;
  height: 0.24rem;
  background-color: black;
  transform-origin: center;
  left: 50%;
  transform: rotateZ(45deg) translateX(-50%);
  z-index: -1;
  &.topLeft {
    left: auto;
    right: 0.4rem;
    transform: rotateZ(45deg) translateX(0);
  }
}
