Welcome to my HTML code showcase:
<div class="container">
<a target="_self" href="flower_gallery.htm">
<img data-src="holder.js/180x180" style="height:20%;width:100%;float:left;"
src="../images/profile-pic.jpg" alt="Flower">
</a><p class="description">Beautiful flower picture</p>
</div>
CSS Styling:
#container .description {
position:relative;
bottom:30px;
left:0px;
visibility:hidden;
}
#container:hover .description {
visibility:visible;
}
This image represents the main profile picture on my webpage. When hovering over the image, a button and additional text with opacity are displayed, offering options like editing the profile picture. This functionality can be achieved using jQuery.
See the live demo Here