JSFiddle - React, Tailwind, and code Playground

HTML

<div id="container"><div class="hoverbubble"><img src="test.gif" width="50" height="50" border="0" /><span>Hidden message here.</span></div>

CSS

#container {
	background-color: #FF0;
	margin: 100px;
	float: left;
	height: 200px;
	width: 200px;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
}

div.hoverbubble {
  position: relative;
  text-decoration: none;
  width:50px;
  height:50px;
}
div.hoverbubble span {display: none;}
div.hoverbubble:hover span {
	display: block;
	position: absolute;
	padding: .5em;
	content: attr(title);
	min-width: px;
	text-align: center;
	width: auto;
	height: auto;
	white-space: nowrap;
	top: -40px;
	background: rgba(0,0,0,.8);
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	color: #fff;
	font-size: 0.86em;
	font-family: Arial, Helvetica, sans-serif;
}
div.hoverbubble:hover span:after {
	position: absolute;
	display: block;
	content: "";
	border-color: rgba(0,0,0,.8) transparent transparent transparent;
	border-style: solid;
	border-width: 10px;
	height: 0;
	width: 0;
	position: absolute;
	bottom: -20px;
	left: 1em;
}