Skip to content
Discussion options

You must be logged in to vote
  1. Is this change in behavior intentional (i.e., a breaking change) in Tailwind v4?
  2. If this is by design, could you provide insight into the rationale behind this decision?

It is intentional. The rationale is:

In v4 we are using native cascade layers and no longer hijacking the @layer at-rule, so we've introduced the @utility API as a replacement:

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@c0nstanc
Comment options

@wongjn
Comment options

wongjn Feb 16, 2025
Collaborator

@c0nstanc
Comment options

Answer selected by c0nstanc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants