JSFiddle - React, Tailwind, and code Playground
by Christian Sonne
HTML
<div class="container">
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
</div>
CSS
.container {
height: 400px;
display: flex;
width: 720px;
background: url(http://lorempixel.com/720/400/people/) top left;
}
.bar {
flex: 1;
margin: 0 10px;
height: 400px;
width: 160px;
}
.bar:nth-child(1) {
background: radial-gradient( ellipse 1500px 500px at 720px 0, transparent 0%, transparent 50%, #A2D39C 50%, #A2D39C 100%);
}
.bar:nth-child(2) {
background: radial-gradient( ellipse 1500px 500px at 540px 0, transparent 0%, transparent 50%, #FFF568 50%, #FFF568 100%);
}
.bar:nth-child(3) {
background: radial-gradient( ellipse 1500px 500px at 360px 0, transparent 0%, transparent 50%, #FBAE5C 50%, #FBAE5C 100%);
}
.bar:nth-child(4) {
background: radial-gradient( ellipse 1500px 500px at 180px 0, transparent 0%, transparent 50%, #F26D7E 50%, #F26D7E 100%);
}