Skip to content

Instantly share code, notes, and snippets.

@Mr2P
Created February 5, 2023 16:13
Show Gist options
  • Save Mr2P/154b29df79c4429ac507571aa2980103 to your computer and use it in GitHub Desktop.
Save Mr2P/154b29df79c4429ac507571aa2980103 to your computer and use it in GitHub Desktop.
The source code for the image frame 2 variation
selector img {
--s: var(--bb-attr--spacing, 10px);
--c: var(--bb-attr--color, #000);
padding: var(--s);
border: calc(2*var(--s)) solid #0000;
outline: 1px solid var(--c);
outline-offset: calc(-1*var(--s));
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