JSFiddle - React, Tailwind, and code Playground
HTML
<div id="wrapper">
<img src="http://static.arstechnica.net/assets/2010/09/feat-pc-trolls-macs-sq-thumb-280x280-16871-f.jpg" alt="" />
<span id="text">A</span>
</div>
CSS
#wrapper {
position: relative;
width: 200px;
height: 200px;
overflow: hidden;
}
#wrapper img {
margin: -40px 0 0 -40px;
}
#wrapper #text {
position: absolute;
font-size: 100px;
font-family: Arial, sans-serif;
font-weight: bold;
display: block;
text-align: center;
vertical-align: middle;
line-height: 1em;
border: 1px solid white;
width: 100px;
height: 100px;
left: 50px;
top: 50px;
color: rgba(255, 255, 255, 0);
}
::selection {
color: transparent;
}
JavaScript
$('#wrapper').draggable({
cancel: '#text'
});