Skip to content

Instantly share code, notes, and snippets.

@dorinvancea
Created November 2, 2025 05:36
Show Gist options
  • Select an option

  • Save dorinvancea/fc585cd97b84da77334c4038855bfe40 to your computer and use it in GitHub Desktop.

Select an option

Save dorinvancea/fc585cd97b84da77334c4038855bfe40 to your computer and use it in GitHub Desktop.
Bunch of css utilities
/* utils.css */
.radius {
--_radius: var(--radius, var(--size-8));
border-radius: var(--_radius);
@supports (corner-shape: squircle) {
corner-shape: squircle;
border-radius: calc(var(--_radius) * 2);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment