Create an inverted border using CSS clip-path

SPLearnCSS on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateDesign Engineering5 min

About this video

Shows how to build inverted border shapes for buttons, cards and hover effects using the CSS clip-path property, without images or extra elements. It assumes some working knowledge of CSS.

What you’ll learn

  • Build an inverted border shape with the CSS clip-path property
  • Apply inverted border effects to buttons, cards and hover states