-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
43 lines (38 loc) · 1.21 KB
/
tailwind.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {},
extend: {
animation: {
wobble: " wobble 1s linear ",
LeftWobble: "LeftWobble 0.75s linear ",
RightWobble: "RightWobble 0.75s linear ",
},
keyframes: {
wobble: {
"0%": { transform: "translateX(0%)" },
"15%": { transform: "translateX(-5%) rotate(-5deg)" },
"45%": { transform: "translateX(-7.5%) rotate(-3deg)" },
"75%": { transform: "translateX(-5%) rotate(-1deg)" },
"100%": { transform: "translateX(0%)" },
},
LeftWobble: {
"0%": { transform: "translateX(0%)" },
"15%": { transform: "translateX(-5%) rotate(-5deg)" },
"45%": { transform: "translateX(-7.5%) rotate(-3deg)" },
"75%": { transform: "translateX(-5%) rotate(-1deg)" },
"100%": { transform: "translateX(0%)" },
},
RightWobble: {
"0%": { transform: "translateX(0%)" },
"15%": { transform: "translateX(5%) rotate(5deg)" },
"45%": { transform: "translateX(7.5%) rotate(3deg)" },
"75%": { transform: "translateX(5%) rotate(1deg)" },
"100%": { transform: "translateX(0%)" },
},
},
},
},
plugins: [],
};