我有一个页脚,其中包含了我各种社交媒体的不同图标。现在,我想要创建一个悬停效果,当悬停在图标上时,显示图标名称。
例如:当鼠标悬停在Facebook图标上时,在下面的div中应该出现文本“Facebook”!
我知道如何创建这个效果,但我不知道如何在同一div中以相同的位置显示这些名称。我该怎么做?
我知道如何创建这个效果,但我不知道如何在同一div中以相同的位置显示这些名称。我该怎么做?
<div id="footer1" style="position: fixed; bottom: 0;">
<div class="content-wrapper">
<div class="ft-div-left"> </div>
<div class="ft-div-right">
<p></p>
</div>
<div class="ft-div-middle">
<center>
<p>
<center>
<a href="" style="text-decoration:none; color:white;"><span class="" style="color: white;"></span></a>
<a href="" style="text-decoration:none; color:white;"><span class="" style="color: white;"></span></a>
<a href="" style="text-decoration:none; color:white;"><span class="icon-stumbleupon3" id="issuu" style="color: white;"></span></a>
<a href="" style="text-decoration:none; color:white;"><span class ="icon-twitter3"></span></a>
</br>
<br>
<br>
<span style="font-family:'Open Sans',sans-serif; font-size:11px; color:grey;">© 2014. All Rights Reserved.</span>
</center>
</p>
</center>
</div>
<div id="hoverText">
<span>Here goes the text</span>
</div>
</div>
</div>