Kevin Powell - CommunityKP-C
Kevin Powell - Communityβ€’14mo agoβ€’
19 replies
Victor Gonzalez

Creating an inverted border-radius with CSS

Hello guys, I can't realize the variables that Kevin created on YouTube: https://www.youtube.com/watch?v=khjVPkO35F0&t=312s We have access to the copenpen code, but there are variables inserted that represent the css properties which we don't know exactly what they are. Does anyone know? Thanks
YouTubeKevin Powell
The other day on Twitter, @FlorinPop pulled me into a conversation, wondering how to create inverted, round corners. Mask-image was probably the easy answer, but after someone in the thread said that making an SVG mask felt like overkill, I had to try and see if I could think of an alternative way!

πŸ”— Links
βœ… The original tweet: https://twi...
Creating an inverted border-radius with CSS
Was this page helpful?