transition with @apply #2886
Replies: 3 comments
-
Could you please create a quick Tailwind Play example with your setup? I tried to make the Play, but there are many custom classes you created in the code above, so probably best to look at an example coming from you 👍 Here's an example (totally different) where a |
Beta Was this translation helpful? Give feedback.
-
@simonswiss Thank you very much for your comment. .user-dropdown { I use tw- as a prefex : module.exports = { My variant config : variants: { }, Everything works good for me except the Pseudo-Class Variants in @apply !!! Thank you |
Beta Was this translation helpful? Give feedback.
-
Can you create a simple project that reproduces the issue? We got a lot of issues that require me to manually recreate someone's project from scratch and I unfortunately just don't have time for that so things end up going unfixed. If you can provide something I can clone and start troubleshooting with right away it's much easier for me to find time to diagnose and fix the issue. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
transition stops working when I put it in my scoped scss with @apply.
.popup-menu__options {
@apply bg-mid-grey tw-transition-height tw-duration-300 tw-absolute tw-bottom-30 tw-h-0 tw-z-30 tw-overflow-hidden tw-w-full ;
}
When I put "transition" back into html everything works as it should.
class="popup-menu__options bg-mid-grey tw-transition-height tw-duration-300 tw-absolute tw-bottom-30 tw-h-0 tw-z-30 tw-overflow-hidden tw-w-full"
Any idea why it doesn't work with @apply ?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions