so I'm trying to have text appear after mouseover with CSS but apparently it does not work. I used this as reference: Text on image mouseover?
I would enormously appreciate your answer
The code is below:
.resume p#pname {
position: absolute;
top: 367px;
left: 1075px;
font-weight: bold;
visibility: hidden;
}
.resume img.pdf:hover #pname {
visibility: visible;
transition: visibility 1s ease-in;
}
<div class="resume">
<a href="#">
<img style="height:auto; width:auto; max-width:75px; max-height:75px;" src="imgs/pdf.png" class="pdf">
</a>
<p id="pname">PDF Resume</p>
<a href="#">
<img class="word" style="height:auto; width:auto; max-width:65px; max-height:70px;" src="imgs/mword.png">
</a>
<p id="wname">Word Doc Resume</p>
<img id="pline" style="height:auto; width:auto; max-width:200px; max-height:150px;" src="imgs/line1.png">
<img id="wline" style="height:auto; width:auto; max-width:200px; max-height:150px;" src="imgs/line2.png">
</div>
I also tried without the transition, but still does not work.