below is an image of what I'm talking about:

![enter image description here](https://i.stack.imgur.com/XJbph.png)

Can I make this with pure CSS?

UPDATE: I've created divs with rounded corners (using border-radius) on the upper right and left corners and placing them between the tabs. Still looking for a more elegant solution.