In the Chrome web browser, tabs have a rounded connection to the white bar beneath them:
I was wondering how to achieve this effect on the following code, preferably with pure CSS.
#bar {
width: 200px;
height: 50px;
background-color: gray;
}
.tab {
width: 75px;
height: 25px;
background-color: lightgray;
border-radius: 8px 8px 0 0;
margin-left: 1rem;
}
.flex {
display: flex;
}
<div class="flex">
<div class="tab"></div>
<div class="tab"></div>
</div>
<div id="bar"></div>
Thank you for any help!

