I want unclickable overlay on the top of the image
codepen link on the comment section
html:
<img src="https://www.codeproject.com/KB/GDI-plus/ImageProcessing2/img.jpg" />
css:
img{
width:100px;
height:100px;
cursor: not-allowed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0,0,0,0.5);
z-index: 1000;
}
with grey opacity on the top of the image
something like this https://prnt.sc/10pm4zm
cursor:not-allowed;topointer-events:none;