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
bg-center
bg-[image:xxx]
Describe the bug I want to setup both background image and positioning but I get error of tailwindcss/no-contradicting-classname.
tailwindcss/no-contradicting-classname
I need to use CSS vartiables as I want the URL to be dynamic (see here).
To Reproduce
Use the following code:
<section style={{ '--bg-small': `url(foo.jpg)` } as CSSProperties} className={`bg-[image:var(--bg-small)] bg-center`} />
Expected behavior Code should work without an error.
Additional context bg-[url(...)] with bg-center works fine though.
bg-[url(...)]
The text was updated successfully, but these errors were encountered:
@moshest => npm i [email protected]
npm i [email protected]
Sorry, something went wrong.
no-contradicting-classname
No branches or pull requests
Describe the bug
I want to setup both background image and positioning but I get error of
tailwindcss/no-contradicting-classname
.I need to use CSS vartiables as I want the URL to be dynamic (see here).
To Reproduce
Use the following code:
Expected behavior
Code should work without an error.
Additional context
bg-[url(...)]
withbg-center
works fine though.The text was updated successfully, but these errors were encountered: