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
The text was updated successfully, but these errors were encountered:
因为 Attributify Mode 里不支持匹配 [],可以改为 xx="[xxx]" 性质
<div style="--red-1: red"> <div class="flex-1" bg-[#ccc] text-center>text</div> <div class="flex-1 mt-4" bg="[#aaa]" text-center>text</div> <div class="flex-1 mt-4" bg-[var(--red-1)] text-center>text</div> <div class="flex-1 mt-4" bg="[var(--red-1)]" text-center>text</div> </div>
play
Sorry, something went wrong.
有这方面需求,可以在 unocss 提个issues
感谢解答! text=这种方式也够用了
text=
No branches or pull requests
The text was updated successfully, but these errors were encountered: