How can I round the inner corners inside the box-shadow?
If I increase border-radius to 80px then I see some whitespace between the box-shadow and the corners.
div#secondSample {
width: 100%;
height: 500px;
}
div#secondSample div#grid div {
position: absolute;
width: 250px;
height: 250px;
margin: 0 auto;
overflow: hidden;
top: 10px;
left: 10px;
border-radius: 10px;
box-shadow: 3px 3px 20px 10px #0000FF, inset 3px 3px 20px 10px #0000FF80;
}
div#secondSample div#grid div:after {
content: "need round these four corners here";
position: absolute;
width: 150px;
height: 150px;
border-radius: 80px;
border: 50px solid;
box-shadow: inset 3px 3px 20px 10px green;
border-image-slice: 1;
border-image-source: linear-gradient(to left, darkgreen, lightgreen);
color:#000;
}
<div id="secondSample">
<div id="grid">
<div></div>
</div>
</div>