Creating an inverted border-radius with CSS

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateWeb DesignUI8 min

About this video

A CSS tutorial that builds inverted, rounded corners without a mask or SVG, using a radial gradient and positioned corner elements. It also covers the trade-offs of this approach.

What you’ll learn

  • Create inverted border corners with radial-gradient in CSS
  • Position decorative corner elements around a layout
  • Evaluate the limitations of a gradient-based corner technique