Skip to content

Commit

Permalink
Add tailwind animation for examples
Browse files Browse the repository at this point in the history
  • Loading branch information
timolins committed May 16, 2021
1 parent 03d75e9 commit cfbf32a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions site/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,17 @@ module.exports = {
animation: {
enter: 'enter 200ms ease-out',
'slide-in': 'slide-in 1.2s cubic-bezier(.41,.73,.51,1.02)',
leave: 'leave 150ms ease-in forwards',
},
keyframes: {
enter: {
'0%': { transform: 'scale(0.9)', opacity: 0 },
'100%': { transform: 'scale(1)', opacity: 1 },
},
leave: {
'0%': { transform: 'scale(1)', opacity: 1 },
'100%': { transform: 'scale(0.9)', opacity: 0 },
},
'slide-in': {
'0%': { transform: 'translateY(-100%)' },
'100%': { transform: 'translateY(0)' },
Expand Down

0 comments on commit cfbf32a

Please sign in to comment.