| 1234567891011121314151617181920 |
- .tooltip {
- position: absolute;
- background-color: #333;
- color: white;
- padding: 5px 10px;
- border-radius: 4px;
- font-size: 14px;
- z-index: 1000;
- pointer-events: none;
- }
- .tooltip::before {
- content: '';
- position: absolute;
- top: -5px;
- left: 50%;
- transform: translateX(-50%);
- border-left: 5px solid transparent;
- border-right: 5px solid transparent;
- border-bottom: 5px solid #333;
- }
|