I am currently in the process of developing a website that features interactive images with text appearing when hovered over. This concept is inspired by the functionality on the nowthisnews.com site.
Despite my efforts, I have been unable to get this feature working correctly.
Here is a portion of the code that I have implemented so far:
#facebook-menu {
display: none;
}
#facebook {
cursor: pointer;
}
#facebook:hover + #facebook-menu {
display: block;
}
<footer>
<div id="footer"></div>
<div class="container">
<div class="row">
<div class="col-lg-10 col-lg-offset-1 text-center">
<br>
<ul class="list-inline">
<div class="hover">
<img href="" id="facebook" src="https://cdn1.iconfinder.com/data/icons/logotypes/32/square-facebook-128.png" height="39px" width="39px"></div>
</ul>
</div>
</div>
</div>
<div id="facebook-menu">
<font size=5><b>Geeky Pixel</b>
<br><font size=2>
Get all news and updates directly to your Facebook feed.<font size=5>
If anyone can offer insight into where I may be making errors, I would greatly appreciate it.
Thank you
Please keep in mind that coding is not my area of expertise, so there are likely mistakes present here.