Shake
tailwind.config.ts
{
"animation": {
"shake": "shake 0.5s ease-in-out"
},
"shake": {
"0%": {
"transform": "translateX(0)"
},
"25%": {
"transform": "translateX(-10px)"
},
"50%": {
"transform": "translateX(10px)"
},
"75%": {
"transform": "translateX(-10px)"
},
"100%": {
"transform": "translateX(0)"
}
}
}