Last active
January 2, 2023 21:24
-
-
Save tnylea/ac5f8e02c7cde51da6c228d61e49cd68 to your computer and use it in GitHub Desktop.
TailwindCSS config with some common animations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @type {import('tailwindcss').Config} */ | |
module.exports = { | |
theme: { | |
extend: { | |
fontFamily: { | |
thicccboi: [ "thicccboi", "sans-serif" ], | |
}, | |
keyframes: { | |
fadeIn: { | |
'0%' : { opacity: 0 }, | |
'100%': { opacity: 1 } | |
}, | |
fadeInUp: { | |
'0%' : { | |
opacity: 0, | |
transform: 'translate3d(0, 100%, 0)', | |
transformStyle: 'preserve-3d', | |
}, | |
'100%': { | |
opacity: 1, | |
transform: 'translate3d(0, 0, 0)', | |
transformStyle: 'preserve-3d', | |
} | |
} | |
}, | |
animation: { | |
fadeIn: 'fadeIn 1s ease-in-out', | |
fadeInUp: 'fadeInUp 0.5s ease' | |
}, | |
}, | |
}, | |
plugins: [], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment