Is there a class for the transition duration with tailwind CSS? For example, is there a way to add transition duration on this example div?
<div class=”text-black hover:text-red”>test</div>
Is there a class for the transition duration with tailwind CSS? For example, is there a way to add transition duration on this example div?
<div class=”text-black hover:text-red”>test</div>
Update 2020: CSS Transition and CSS Transform is now available.
There are currently no transition utilities in standard tailwindcss (there is an open issue on github from 2017). However, transition utilities can be enabled through plugins. You should look at benface's plugin tailwindcss-transitions.
npm install tailwindcss-transitions