There is a span
element that I am using in the following way -
<span class="tick"></span>
This creates a decorative "tick" for a checkbox.
The CSS code used for this is -
input[type="checkbox"] + span > span.tick {
display: block;
position: absolute;
z-index: 2;
top: -3px;
left: -1px;
width: 20px;
height: 20px;
background-repeat: no-repeat;
background-image: url(/content/dam/oe_tick.png);
background-size: 18px;
background-position: 3px 1px;
}
I am interested in adding a shadow effect around the image at /content/dam/oe_tick.png
.
Is there a way to achieve this?
Thank you in advance!