I initially thought I could do this with box-shadow but it is not visible behind even though the background color of the bordered rectangle is transparent.
So I just included a duplicate element with a different background color and position.
It’s completely black without any trace of borders. Play around with the sandbox:
Posted in CSS Battle
View all comments