Skip to content

Commit 25ee40b

Browse files
committed
feat: add shine animation
1 parent 6c7b7be commit 25ee40b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tailwind.config.ts

+5
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,14 @@ export default {
99
theme: {
1010
extend: {
1111
animation: {
12+
shine: "shine 5s infinite linear",
1213
rotate360: "rotate360 0.75s linear infinite",
1314
},
1415
keyframes: {
16+
shine: {
17+
"0%": { backgroundPosition: "-200px center" },
18+
"100%": { backgroundPosition: "200px center" },
19+
},
1520
rotate360: {
1621
"0%": { transform: "rotate(0deg)" },
1722
"100%": { transform: "rotate(360deg)" },

0 commit comments

Comments
 (0)