Skip to content

Commit

Permalink
tailwind config: marquee animation added
Browse files Browse the repository at this point in the history
  • Loading branch information
nirnejak committed Sep 14, 2024
1 parent 83fe302 commit d2aaff7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ const config: Config = {
},
},
keyframes: {
marquee: {
"0%": { transform: "translateX(0%)" },
"100%": { transform: "translateX(-50%)" },
},
fadeIn: {
from: { opacity: "0" },
to: { opacity: "1" },
Expand Down Expand Up @@ -78,6 +82,7 @@ const config: Config = {
},
},
animation: {
marquee: "marquee 25s linear infinite",
fadeIn: "fadeIn 400ms cubic-bezier(0.16, 1, 0.3, 1)",
slideDownAndFade:
"slideDownAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)",
Expand Down

0 comments on commit d2aaff7

Please sign in to comment.