We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://stackblitz.com/edit/tw-in-js-twind-4eadgq?file=index.html
injectGlobal` @layer utilities { .border-test { border: 1px solid red; } } @layer components { .my-card { @apply p-2 rounded-md bg-purple-300 border-test; } } `
<div class="my-card">Test</div>
my-card doesn't automatically apply border-test. The latter class only works if added directly to the element too.
my-card
border-test
annoyance
{ "@twind/core": "https://esm.sh/@twind/core@1.1.3?dev", "@twind/preset-tailwind": "https://esm.sh/@twind/preset-tailwind@1.1.4?dev" }
No response
The text was updated successfully, but these errors were encountered:
Start a new pull request in StackBlitz Codeflow.
Sorry, something went wrong.
No branches or pull requests
Reproduction
https://stackblitz.com/edit/tw-in-js-twind-4eadgq?file=index.html
Describe the bug
my-card
doesn't automatically applyborder-test
. The latter class only works if added directly to the element too.Severity
annoyance
System Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: