I am looking to implement a mobile modal popup that will show a success message. Currently, I am working to add a semi-transparent overlay to the entire screen using this CSS:
.overlay {
position:fixed;
top:0px;
left:0px;
width:100%;
height:100%;
background-color:rgba(0, 0, 0, 0.4);
}
However, I am exploring if there is a way to only apply the overlay effect to the edges of the screen instead of the whole content area. Something similar to having faded edges but in reverse.