I’m trying to display a caption when someone hovers over images. But I couldn’t find a way to get this done.
I’m using Twitter Bootstrap.
Here is my HTML for one of the images. I don’t know how to put the content into it, so that it only displays when someone goes with the mouse over it.
<div class="col-lg-2 col-md-3 col-sm-4 col-xs-12 thumb">
<a class="thumbnail caption-style-1 model-thumbnail " href="#">
<img class="img-responsive" src="http://placehold.it/245x347" alt>
</a>
</div>
2
Answers
Here is a cool example inspired of this website.