Skip to content

Instantly share code, notes, and snippets.

@Mr2P
Created February 5, 2023 16:10
Show Gist options
  • Save Mr2P/31961289c2003082989d2d21ef877d57 to your computer and use it in GitHub Desktop.
Save Mr2P/31961289c2003082989d2d21ef877d57 to your computer and use it in GitHub Desktop.
The source code for the image frame 1 variation
selector img {
--s: var(--bb-attr--spacing, 10px); /* control the size */
--c: var(--bb-attr--color, #000);
padding: var(--s);
border: var(--s) solid #0000;
background: conic-gradient(from 90deg at 1px 1px,#0000 25%,var(--c) 0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment