Closed
Description
What version of Tailwind CSS are you using?
v4.0.17
What build tool (or framework if it abstracts the build tool) are you using?
Tailwind CLI
What version of Node.js are you using?
v22.12.0
What browser are you using?
Chrome
What operating system are you using?
Windows
Reproduction URL
https://github.com/senneclaeskens/tailwind4-repro
Tailwind play: https://play.tailwindcss.com/alK9PzyzWY
Describe your issue
As explained here: #17022 (comment)
The first element should also have a red background.
Generated html by razor:
Source code:
I'm not saying this is a tailwind issue, but in v3 we could use a content transformer in combination with this syntax in razor: @("@")
. This would always render one @
, which would make the CSS work correctly.
Metadata
Metadata
Assignees
Labels
No labels