Collection animation class for vue
<transition>
yarn add -D @privyid/tailwind-animation
Then, add into tailwind.config.js
module.exports = {
plugins: [
require('@privyid/tailwind-animation')
],
// ...
}
<template>
<!-- ... -->
<transition name="fade" >
<!-- ... -->
</transition>
<!-- ... -->
</template>
fade
slide-up
slide-left
slide-right
slide-top
slide-bottom
slide-full-left
slide-full-right
slide-full-top
slide-full-bottom
zoom-in
zoom-out