Essentially, this code snippet demonstrates a simple layout using a form with two fieldsets:
<div>
<form>
<fieldset class="right">
<button>button</button>
</fieldset>
<fieldset>
</fieldset>
</form>
</div>
div {
width:50%;
margin:auto;
}
fieldset {
background:blue;
clear : right;
height:100px; /* remove height once content is added */
border:none;
border-radius:1em 0 1em 1em;
}
.right {
float:right;
border-radius:1em 1em 0 0;
height:50px;/* remove height once content is added */
position:relative;/* to set pseudo element where desired */
}
.right:after{
content:'';
height:2em;/* use twice the value for radius */
width:2em;
position:absolute;
left:-2em;
bottom:0;
border-radius:2em;
box-shadow: 23px 23px 0 10px blue;/* drop shadow creating inside round corner effect */
z-index:-1;
}
Check out the demo on CodePen