JSFiddle - React, Tailwind, and code Playground
HTML
<a href="#changepic" data-toggle="modal" data-backdrop="static">
<div class="round-pic2 thumbnail" id="imgdiv" style="background-image: url('http://asianwiki.com/images/a/a4/Andy-lau.jpg');" ><br><br><br><br><label id="title"></label>
</div>
</a>
CSS
.round-pic2 {
display: block;
width: 130px;
height: 130px;
margin: 0em auto;
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
border-radius: 99em;
-webkit-border-radius: 99em;
-moz-border-radius: 99em;
border: 0px solid gray;
box-shadow: 0 3px 2px rgba(0, 0, 0, 0.3);
}
.round-pic2:hover {
opacity:0.5;
}
;
JavaScript
$('#imgdiv').mouseover(function() {
$('#title').text("click to edit");
});
$('#imgdiv').mouseout(function() {
$('#title').text("");
});