Open
Description
What version of Tailwind CSS are you using?
For example: v4.1.8
What build tool (or framework if it abstracts the build tool) are you using?
Tailwind Play
Reproduction URL
https://play.tailwindcss.com/JbMqs7VnW1?file=css
Describe your issue
@utility flex-1 {
flex: 1 1 0px;
}
The expected result would be just one utility, the new one:
.flex-1 {
flex: 1 1 0px;
}
But the old one is also implemented:
.flex-1 {
flex: 1 1 0px;
}
.flex-1 {
flex: 1;
}
If I override the entire flex-* utility, at least the specificity will be correct:
@utility flex-* {
flex: --value(integer, [*]) 1 0px;
}
.flex-1 {
flex: 1;
}
.flex-1 {
flex: 1 1 0px;
}
Metadata
Metadata
Assignees
Labels
No labels