Created
June 20, 2026 16:24
-
-
Save luislobo9b/aa049c910e12c812433926f36f42382a to your computer and use it in GitHub Desktop.
neon-button.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .btn-bg-bevel, | |
| .btn-bg-border, | |
| .btn-bg-border-sides, | |
| .btn-bg-border-bevel { | |
| @apply absolute z-0; | |
| } | |
| .btn-bg-bevel { | |
| @apply top-0.75 left-0.75 w-[calc(100%-6px)] h-[calc(100%-6px)]; | |
| background: url("./btn/bg.webp") center repeat; | |
| } | |
| .btn-bg-border { | |
| @apply mix-blend-lighten top-0 left-0.75 w-[calc(100%-6px)] h-full; | |
| background: | |
| url("./btn/border-top.webp") top center repeat-x, | |
| url("./btn/border-bottom.webp") bottom center repeat-x; | |
| } | |
| .btn-bg-border-sides { | |
| @apply mix-blend-lighten top-0.75 left-0 w-full h-[calc(100%-6px)]; | |
| background: | |
| url("./btn/border-left.webp") left center repeat-y, | |
| url("./btn/border-right.webp") right center repeat-y; | |
| } | |
| .btn-bg-border-bevel { | |
| @apply top-0 left-0 w-full h-full; | |
| background: | |
| url("./btn/bevel-top-left.webp") top left no-repeat, | |
| url("./btn/bevel-top-right.webp") top right no-repeat, | |
| url("./btn/bevel-bottom-left.webp") bottom left no-repeat, | |
| url("./btn/bevel-bottom-right.webp") bottom right no-repeat; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment