RT T. Afif @ CSS Challenges
Here is my idea for the inverted border-radius layout 👇
Demo: https://codepen.io/t_afif/full/LYgaexY via @CodePen
Using mask to have transparency. A minimal HTML with no pseudo-element and some CSS variables to control everything (the gap, the radius, etc)
#CSS https://t.co/DdN7KNmkdM
<div class="rsshub-quote">
Kevin Powell: I've just put out a new video! Creating an inverted border-radius with CSS https://youtu.be/khjVPkO35F0
</div> https://twitter.com/ChallengesCss/status/1661822077584789507