I've got a nested div situation,
<div style="background-color: red; height: 100px; width: 100px; border-radius: 10px;" id="div1">
<div style="background-color: orange;" id="div2">
testing
</div>
</div>
The div2 inside the parent div1 doesn't quite match its rounded corners.
Despite adjusting the border radius of div2, it's still not perfectly aligned with the curved edges of div1. How can I eliminate the excess part of div2 that protrudes outside the curvature of div1?
Check out the jsfiddle here