Created
May 30, 2026 13:38
-
-
Save haggen/b0792bc8280663ef15361914a08b20bd to your computer and use it in GitHub Desktop.
Tear-off paper Tailwind utility
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
| @utility tear-off-* { | |
| background-clip: padding-box; | |
| background-color: --value(--color-*); | |
| background-color: --alpha(--value(--color-*) / --modifier(integer) %); | |
| border-width: 1px; | |
| border-style: dotted; | |
| border-color: --value(--color-*); | |
| border-color: --alpha(--value(--color-*) / --modifier(integer) %); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment