Utilities for controlling which CSS properties transition.
export default {
theme: {
extend: {
transitionProperty: {
height: 'height',
spacing: 'margin, padding',
},
},
},
}
Utilities for controlling the duration of CSS transitions.
export default {
theme: {
extend: {
transitionDuration: {
zero: '0ms',
long: '2000ms',
},
},
},
}
Utilities for controlling the easing of CSS transitions.
export default {
theme: {
extend: {
transitionTimingFunction: {
'in-expo': 'cubic-bezier(0.95, 0.05, 0.795, 0.035)',
'out-expo': 'cubic-bezier(0.19, 1, 0.22, 1)',
},
},
},
}
Utilities for controlling the delay of CSS transitions.
export default {
theme: {
extend: {
transitionDelay: {
zero: '0ms',
long: '2000ms',
},
},
},
}