JSFiddle - React, Tailwind, and code Playground
by Sergey Goryachev
HTML
<div class="wrapper">
<div class="block1"></div>
<div class="block2"></div>
</div>
CSS
body {
background: black;
}
.wrapper {
overflow: hidden;
}
.block1 {
width: 60%;
float: left;
height: 300px;
background: orange;
}
.block2 {
width: 40%;
float: left;
height: 300px;
background: white;
position: relative;
z-index: 2;
}
.block2:after {
content: "";
position: absolute;
border-radius: 50%;
height: 150%;
width: 200px;
left: -100px;
top: -25%;
bottom: -25%;
background: white;
z-index: 1;
}