Erstelle einen Pfeil nach unten

Wie kann ich einen Abwärtspfeil für @ erstelleparent In CSS würde es also wie eine Sprechblase aussehen?

Das ist, was ich versucht habe.

<div class="parent">TEST
   <span class="tri">TEST</span>
</div>

.tri {
  opacity: 0;
 }
 .tri:before {
  position: absolute;
  top: 40%;
  left: 50%;
  margin-top: -15px;
  margin-left: -100px;
  background-color: #FFF;
  color: #000;
  text-align: center;
  padding: 10px;
  min-width: 200px;
}

.tri:after {
  border-top:  5px solid #000;
  border-top:  5px solid #000;
  border-right:  5px solid transparent;
  border-left:  5px solid transparent;
}

.parent:hover .tri:before, .parent:hover .tri:after {
  opacity: 1;
}

Geig

Antworten auf die Frage(6)

Ihre Antwort auf die Frage