User:Rajireddy462/vector.css

//.tooltip { //position: relative; //display: inline-block; //border-bottom: 1px dotted black; //}

.tooltip { position: relative; display: contents; border-bottom: 1px black; }

.tooltip .tooltiptext { visibility: hidden; width: 500px; background-color: Khaki; color: #000000; text-align: center; border-radius: 6px; padding: 5px 0;

/* Position the tooltip */ position: absolute; z-index: 1; }

.tooltip:hover .tooltiptext { visibility: visible; }