.outerdiv {
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
border: 1px solid #646464;
background-color: yellow;
padding-left: 10px;
margin-top: 10px;
height: 200px;
}
.innerdiv {
-webkit-border-radius: 0px 10px 10px 0px;
-moz-border-radius: 0px 10px 10px 0px;
border-radius: 0px 10px 10px 0px;
background-color: white;
height: 200px;
}
<div class="outerdiv">
<div class="innerdiv">
</div>
</div>
I am trying to achieve as in the attached image.
I have outer div with yellow background and border radius of 10 and padding-left:10px to show the yellow strip on the left.
i am creating inner div with only top right and bottom right border radius. but i am getting yellow color on the right corners.