<div></div>
<div></div>
<style>
div {
width: 90px;
aspect-ratio:1;
border-radius:50%;
transform:translateY(-15px);
background:#191919;
box-shadow:0 0 0 13px #E08027;
position:relative;
}
div::after{
content:"";
position:absolute;
width:55px;
height:55px;
background:#E08027;
top:-13;
right:-13;
z-index:-1;
}
</style>
I am trying to bring the ::after element to back of the parent div. But its not working, why z-index ain't work?