-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hello. I installed your plugin from example:
// utilities
const a = require('@viget/tailwindcss-plugins/utilities/alpha')
const { em, rem, remPair, pxPair } = require('@viget/tailwindcss-plugins/utilities/fns')
const plugins = require('@viget/tailwindcss-plugins')
theme: {
animate: (theme) => ({
triggerClass: '-observed',
staggerDelay: {
'100': '100ms',
'200': '200ms',
...theme('transitionDelay'),
},
staggerInterval: {
default: '100ms',
'200': '200ms',
...theme('transitionDelay'),
},
maxItemIntervalSupport: 9,
animations: {
'fade-up': {
from: {
transform: 'translateY(20px)',
opacity: 0,
},
to: {
transform: 'translateY(0)',
opacity: 1,
},
},
'zoom-in': {
from: {
transform: 'scale(0.8)',
opacity: 0,
},
// "to" is optional
},
},
}),
},
plugins: [
plugins.animate,
]
npm dev watch
generated files without errors, but after scrolling on the page the element still invisible and -observed
extension to element class not adding.
Metadata
Metadata
Assignees
Labels
No labels