Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

🐛 fix: shimmer button tailwind animation fixes

Dillion Verma7367d21b427b
diff --git a/tailwind.config.ts b/tailwind.config.ts
index a2703bf6..47b4dca3 100644
--- a/tailwind.config.ts
+++ b/tailwind.config.ts
@@ -112,16 +112,16 @@ module.exports = {
},
spin: {
"0%": {
- rotate: "0deg",
+ transform: "translateZ(0) rotate(0)",
},
"15%, 35%": {
- rotate: "90deg",
+ transform: "translateZ(0) rotate(90deg)",
},
"65%, 85%": {
- rotate: "270deg",
+ transform: "translateZ(0) rotate(270deg)",
},
"100%": {
- rotate: "360deg",
+ transform: "translateZ(0) rotate(360deg)",
},
},
slide: {