custom.css 405 B

1234567891011121314151617181920
  1. .tooltip {
  2. position: absolute;
  3. background-color: #333;
  4. color: white;
  5. padding: 5px 10px;
  6. border-radius: 4px;
  7. font-size: 14px;
  8. z-index: 1000;
  9. pointer-events: none;
  10. }
  11. .tooltip::before {
  12. content: '';
  13. position: absolute;
  14. top: -5px;
  15. left: 50%;
  16. transform: translateX(-50%);
  17. border-left: 5px solid transparent;
  18. border-right: 5px solid transparent;
  19. border-bottom: 5px solid #333;
  20. }