JSFiddle - React, Tailwind, and code Playground
HTML
<div class="shadow">Нужно использовать фиксированную высоту - в примере 30px</div>
CSS
.shadow {
width: 209px;
position: relative;
height: 40px;
padding: 0;
margin: 10px 0;
}
.shadow:after {
position: absolute;
content: '';
left: 0;
right: 0;
bottom: 0;
top: 0;
background-color: rgba(155,155,0, 0.25);
border-radius: 50% / 5px;
box-shadow: rgba(0, 0, 0, 0.5) 0 0 10px;
clip: rect(-15, -20, 15, 209);
}