The other day on Twitter, [id280848710|@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:
✅ My finished code:
⌚ Timestamps
00:00 - Introduction
00:16 - The easiest solution?
00:30 - Setting up the layout
02:08 - The white separation
03:19 - Using a radial-gradient to make the corners
04:36 - Positioning the corner things
06:15 - Two problems with this solution
#css
--
Come hang out with other dev’s in my Discord Community
💬 ...
#KevinPowell #Kevin_Powell #backward_border_radius #border_radius #border-radius #css #css_border-radius #css_corners #front-end #frontend
20230525
khjVPkO35F0
1 view
368
87
4 weeks ago 00:08:10 1
AI Agents Will Create MILLIONAIRES in 2025 – Are You Ready
4 weeks ago 00:04:49 1
Play To Earn🔥This New Play to Earn Game is About to Make a Lot of People RICH
1 month ago 00:08:50 1
Just Dance 2025 Edition - The Making Of
1 month ago 00:23:23 1
Create CONSISTENT CHARACTERS from an INPUT IMAGE with FLUX! (ComfyUI Tutorial + Installation Guide)