Skip to content

Instantly share code, notes, and snippets.

@gmcusaro
Created June 22, 2022 07:05
Show Gist options
  • Save gmcusaro/1d5d97e3338d1b0de904a0c2d045bd48 to your computer and use it in GitHub Desktop.
Save gmcusaro/1d5d97e3338d1b0de904a0c2d045bd48 to your computer and use it in GitHub Desktop.
Custom background path
.custom-path {
clip-path: polygon(
0% 0%,
100% 0%,
100% calc(100% - 2em),
0% 100%
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment