Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
Afif13 committed Nov 15, 2024
1 parent 7ecc3fb commit a933ab5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions content/rounded-tab/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ Use modern CSS to create those famous [rounded tabs](https://css-shape.com/round
.rounded-tab {
--r: .8em; /* control the curvature */

border: solid #0000;
border-width: 0 var(--r);
border-inline: var(--r) solid #0000;
border-radius: calc(2*var(--r)) calc(2*var(--r)) 0 0/var(--r);
mask:
radial-gradient(var(--r) at var(--r) 0,#0000 98%,#000 101%)
Expand Down

0 comments on commit a933ab5

Please sign in to comment.