-
Notifications
You must be signed in to change notification settings - Fork 4
/
tailwind.config.cjs
58 lines (58 loc) · 1.67 KB
/
tailwind.config.cjs
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
48
49
50
51
52
53
54
55
56
57
58
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{ts,tsx}"],
theme: {
extend: {
keyframes: {
"card-visible": {
"0%": {
transform:
"rotate3d(1, 12, -3, 18deg) translate3d(210px, 0px, 90px)",
},
"95%": {
transform:
"rotate3d(0, 0.2, 0, 180deg) translate3d(0px, calc(150% - 45vh), 0px) scale(3)",
},
"100%": {
transform:
"rotate3d(0, 0.2, 0, 180deg) translate3d(0px, calc(150% - 45vh), 0px) scale(3)",
},
},
"card-on-stack": {
"0%": {
transform:
"rotate3d(0, 0.2, 0, 180deg) translate3d(0px, calc(150% - 45vh), 0px) scale(3)",
},
"5%": {
transform:
"rotate3d(0, 0.2, 0, 180deg) translate3d(0px, calc(150% - 45vh), 0px) scale(3)",
},
"100%": {
transform: "rotate3d(0, 0, 0, 0) translate3d(0, 0px, 0px)",
},
},
"card-details": {
"0%": {
opacity: 0,
pointerEvents: "none",
},
"80%": {
opacity: 0,
pointerEvents: "none",
},
"100%": {
opacity: 1,
pointerEvents: "auto",
},
},
},
animation: {
"card-visible": "card-visible 0.8s ease-in-out forwards",
"card-hidden": "card-on-stack 0.8s ease-in-out forwards",
"card-details": "card-details 0.8s ease-in-out forwards",
"card-details-hidden": "card-details 0.8s ease-in-out reverse",
},
},
},
plugins: [],
};