-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
48 lines (47 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
44
45
46
47
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
keyframes: {
dance: {
"0%, 100%": { transform: "scale3d(1, 1, 1)" },
"50%": { transform: "scale3d(1.05, 1.05, 1.05)" }
},
tada: {
"0%" : { transform: "scale(1)" },
"10%, 20%" : { transform: "scale(0.9) rotate(-3deg)" },
"30%, 50%, 70%, 90%" : { transform: "scale(1.1) rotate(3deg)" },
"40%, 60%, 80%" : { transform: "scale(1.1) rotate(-3deg)" },
"100%" : { transform: "scale(1) rotate(0)" }
},
fly: {
"0%" : {
transform: "translateY(0)",
},
"10%" : {
transform: "translateY(-10px)",
},
"30%" : {
transform: "translateY(30px)",
},
"100%" : {
transform: "translateY(-2500px)",
}
},
},
animation: {
dance: "dance 1s infinite",
button: "tada 1.5s, dance 2s infinite 2s",
fly: "fly 2s",
},
fontFamily: {
"title": ["Fredoka One", "cursive"],
},
},
},
plugins: [],
}