This repository has been archived by the owner on Aug 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
82 lines (82 loc) · 2.09 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
module.exports = {
purge: [
'./resources/**/*.html',
'./resources/**/*.php',
'./resources/**/*.js',
'./public/**/*.js',
],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
keyframes: {
bounceIn: {
'0%, 20%, 40%, 60%, 80%, to': { transform: 'rotate(-3deg)' },
'0%': {
opacity: 0,
transform: 'scale3d(.3,.3,.3)'
},
'20%': {
transform: 'scale3d(1.1,1.1,1.1)'
},
'40%': {
transform: 'scale3d(.9,.9,.9)'
},
'60%': {
transform: 'scale3d(1.03,1.03,1.03)'
},
'80%': {
transform: 'scale3d(.97,.97,.97)'
},
'to': {
opacity: 1,
transform: 'scaleX(1)'
},
},
flipIn: {
'from, 40%, 60%, 80%, to': {
'backface-visibility': 'hidden'
},
'from': {
'transform': 'perspective(400px) rotate3d(0, 1, 0, 180deg)',
'animation-timing-function': 'ease-in',
'opacity': 0
},
'40%': {
'transform': 'perspective(400px) rotate3d(0, 1, 0, -20deg)',
'animation-timing-function': 'ease-in',
'opacity': 1
},
'60%': {
'transform': 'perspective(400px) rotate3d(0, 1, 0, 10deg)',
},
'80%': {
'transform': 'perspective(400px) rotate3d(0, 1, 0, -5deg)'
},
'to': {
'transform': 'perspective(400px)'
}
},
flipOut: {
'from, 40%, 60%, 80%, to': {
'backface-visibility': 'visible'
},
'from': {
'transform': 'perspective(400px) rotate3d(0, 1, 0, -15deg)',
},
'to': {
'transform': 'perspective(400px) rotate3d(0, 1, 0, 180deg)',
}
}
},
animation: {
bounceIn: 'bounceIn 0.75s',
flipIn: 'flipIn 0.75s',
flipOut: 'flipOut 0.5s',
}
},
},
variants: {
extend: {},
},
plugins: [],
}