-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
43 lines (41 loc) · 974 Bytes
/
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} */
let plugin = require("tailwindcss/plugin")
let FlipStyle = plugin(function ({addUtilities}) {
addUtilities({
".rotate-y-180": {
transform: "rotateY(180deg) scaleX(-1)"
},
".rotate-y-0": {
transform: "rotateY(0deg) scaleX(-1)"
},
".preserve-3d": {
transformStyle: "preserve-3d"
},
".perspective-1000": {
perspective: "1000px"
},
})
})
module.exports = {
content: [
"./index.html",
"./src/**/*.{vue,js,ts,jsx,tsx}",
],
theme: {
extend: {
animation: {
"slide-out": "slideOut 5s"
},
keyframes: {
slideOut: {
"0%": { transform: "translateY(5rem)" },
"25%": { transform: "translateY(0px)" },
"50%": { transform: "translateY(0px)" },
"75%": { transform: "translateY(0px)" },
"100%": { transform: "translateY(5rem)" },
}
}
},
},
plugins: [FlipStyle],
}