-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
If I want to use one of the default options for a transition property via the @apply method, how can I do this? For example:
.header-main-hide {
@apply transition-delay-default;
}
Results in an error:
@applycannot be used with.transition-delay-defaultbecause.transition-delay-defaulteither cannot be found, or its actual definition includes a pseudo-selector like :hover, :active, etc. If you're sure that.transition-delay-defaultexists, make sure that any@importstatements are being properly processed before Tailwind CSS sees your CSS, as@applycan only be used for classes in the same CSS tree.
If I use @apply transition-delay-long or @apply transition-delay-longer, it works fine, but it will not allow me to use default for some reason.
Metadata
Metadata
Assignees
Labels
No labels