-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
What version of Tailwind CSS are you using?
v4.1.0
What build tool (or framework if it abstracts the build tool) are you using?
@tailwindcss/cli
What version of Node.js are you using?
v23.9.0
What browser are you using?
Chrome, Safari, or N/A
What operating system are you using?
macOS
Reproduction URL
https://github.com/pmlk/tailwindcss-issue-v4-1-0
Describe your issue
Arbitrary properties no longer seem to work, e.g. <h1 class="[background-color:red;]">foo</h1> will no longer render a red background on the element.
Steps to reproduce with the reproduction repo:
npm run build- generates
dist/styles.cssand - copies
src/index.htmltodist/index.html
- generates
open dist/index.html- background of the
<h1>is not red but SHOULD be red
- background of the
- edit the version of
@tailwindcss/cliinpackage.jsonto4.0.17 npm updatenpm run buildopen dist/index.html- background of the
<h1>is red as expected
- background of the
Metadata
Metadata
Assignees
Labels
No labels