[
What's happening here is that when I click on a particular thumbnail, the tick appears on it. It's basically a label for an input field. How can i replicate something like this? What I need is when I click on a particular shoe thumbnail, a tick appears on its top right indicating it's selected.
I pulled the HTML markup from the source. An SVG is being used here but I need to use it as a label for an input field. This is what the HTML looks like:
<div class="variation">
<div class="tick_icon">
<svg class="gl-icon">
<use xlink:href="#checkmark">
<symbol id="checkmark" viewBox="0 0 19 19">
<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-miterlimit="10" d="M2.5 10.5l4 4 10-10">
</path>
</symbol>
</use>
</svg>
</div>
<div class="image_holder" style="background-image: url('url_here.com');">
</div>
</div>
The CSS for the same is here:
.variation{
max-width: 70px;
margin: 0 10px 10px 0;
display: block;
position: relative;
height: 70px;
}
.tick_icon{
border-radius: 50%;
background-color: #000;
position: absolute;
right: 0;
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
}
.gl_icon{
height: 19px;
width: 19px;
display: inline-block;
color: #fff;
}
My own code (simplified) is set up like this:
<input>
<label style="border;1px solid black;border-radius:50%">
<i style="background-image:url('image-url-here');border-radius:50%"></i>
</label>
So, essentially, I need to switch my label CSS to make it look like a tick.
This is what my output looks like:

Hello, check if you have any luck with this but from the next time provide your snippet as well so everyone will be more helpful...