﻿/* Tooltip container */
.vtooltip {
    position: relative;
    overflow: visible;
    /*display: inline-block;
    border-bottom: 1px dotted black; If you want dots under the hoverable text */
}

/* Tooltip text */
.vtooltip .vtooltiptext {
    visibility: hidden;
    top: -36px;
    left: 10%;
    background-color: yellow;
    color: black;
    text-align: center;
    padding: 5px 20px;
    border: 1px solid black;
    border-radius: 6px;
    border-color: red;
    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

.vtooltip .vtooltiptext::after {
    content: " ";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: red transparent transparent transparent;
}