There are two sections labeled as a and b.
.a {
height: 120px;
width: 120px;
background: #E08027;
border-radius: 50% 50% 10px 10px;
position: relative;
}
.b {
position: absolute;
height: 49px;
width: 49px;
background: #F2AD43;
border-radius: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
<div class="a">
<div class="b"></div>
</div>
I would like to hide the portion of section b that extends over section a while still displaying the remaining part. *z-index is not resolving this issue.