2
I have the following html code below:
<a class="tooltips" href="#"><strong>!</strong><span>Ingresse o máximo de informações possíveis para uma entrega acertiva</span></a>
With the following codes CSS:
a.tooltips {
position: relative;
display: inline-block;
vertical-align: middle;
font-size: 14px;
color: #fff;
margin-left: 5px;
background: #E7AF19;
padding: 1px 10px;
text-align: center;
border-radius: 50%;
}
a.tooltips span:after {
content: '';
position: absolute;
top: 100%;
left: 50%;
margin-left: -8px;
width: 0;
height: 0;
border-top: 8px solid #E7AF19;
border-right: 8px solid transparent;
border-left: 8px solid transparent;
}
Joining the two codes, it forms a small circle to show information to the user, where it should be displayed on hover, but it’s not working. I think I’m missing some function in javascript or in jQuery for it to be shown, but I do not know how to hover, the text contained within the span be shown.
Example:

It worked! Thank you so much for your help and attention.
– Matheus Portela