My current setup looks like this: HTML:
<div class="wrapper">
<img src="image.jpg" />
<div class="circle">
X
</div>
</div>
CSS:
.circle {
width:50px;
height:50px;
border-radius:50%;
background: #FF0000;
}
I am trying to position the div with class circle precisely in the center of the wrapper div, on top of the displayed image. Can this be accomplished using only CSS? If not, a solution involving jQuery is also acceptable.
I have numerous divs with varying sizes.