Titel im Tooltip ausblenden
Ich mache einen Tooltip mit CSS. Verwenden Sie jetzt den folgenden HTML-Code
<div title="This is some information for our tooltip." class="progress3">
</div>
und das folgende CSS
.progress3{
display: inline;
position: relative;
}
.progress3:hover:after{
background: #333;
background: rgba(0,0,0,.8);
border-radius: 5px;
bottom: 26px;
color: #fff;
content: attr(title);
left: 20%;
padding: 5px 15px;
position: absolute;
z-index: 98;
width: 220px;
content: attr(title);
}
.progress3:hover:before{
border: solid;
border-color: #333 transparent;
border-width: 6px 6px 0 6px;
bottom: 20px;
content: "";
left: 50%;
position: absolute;
z-index: 99;
}
Jetzt funktioniert es, wenn ich den Mauszeiger darüber halte und den Tooltip, aber auch den Titel zeige. Wie entferne ich das, was im Bild unten orange eingekreist ist?