Transition in tailwind for grid ?
I have the code set up.
I wrote grid grid-cols-[3.5rem]
and then with mouse on enter attribute I change it to 14.5rem and on out back to 3.5rem the JS works fine. It used to work but for some reason it doesn't work anymore.
I set up in tailwind.config.js grid property
extends: {
transitionProperty: {
grid: 'grid'
}
}
and then I did transition-grid ease-in-out duration-500 and it worked but for some reason it doesn't anymore or I made a mistake somewhere.
2 Replies