-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Description
What version of Tailwind CSS are you using?
For example: v4.0.17
What build tool (or framework if it abstracts the build tool) are you using?
Next.js 15.2.5
What version of Node.js are you using?
22.14.0
What browser are you using?
Chrome
What operating system are you using?
Windows
Reproduction
- Define a CSS variable:
--ripple-border-style: dashed; - Use it in a class:
border-(--ripple-border-style)
Expected behavior:
The compiled CSS should be: border-style: var(--ripple-border-style);
Actual behavior:
The compiled CSS is: border-color: var(--ripple-border-style);
Describe your issue
This makes it difficult to dynamically change border styles using CSS variables. The workaround is to use static border styles like border-dashed, but this doesn't allow for dynamic style changes via CSS variables.
Metadata
Metadata
Assignees
Labels
No labels