div.tooltip {
    position: relative;
    text-decoration: none;
}
div.tooltip:after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 140%;
    left: 20%;
    background: rgba(10,10,10,0.98);
    padding: 3px 10px;
    color: #ffffff;
    border-radius: 3px;
    white-space: nowrap;
    opacity: 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition : all 0.3s ease;
    transition : all 0.3s ease;
}
div.tooltip:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 20px solid #ffcb66;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    -webkit-transition: all 0.4s ease;
    -moz-transition : all 0.4s ease;
    transition : all 0.4s ease;
    opacity: 0;
    left: 30%;
    bottom: 90%;
}
div.tooltip:hover:after {
    bottom: 110%;
}
div.tooltip:hover:before {
    bottom: 70%;
}
div.tooltip:hover:after, a:hover:before {
    opacity: 1;
}