Compare commits
2 Commits
44d7c56212
...
21a07a3fda
| Author | SHA1 | Date | |
|---|---|---|---|
| 21a07a3fda | |||
| e83db9541d |
@ -59,22 +59,19 @@ const App = () => {
|
||||
|
||||
const fadeVariants = {
|
||||
initial: {
|
||||
clipPath: "polygon(0 0, 0 0, 0 100%, 0% 100%)",
|
||||
opacity: 0,
|
||||
},
|
||||
animate: {
|
||||
clipPath: "polygon(0 0, 100% 0, 100% 100%, 0 100%)",
|
||||
opacity: 1,
|
||||
transition: {
|
||||
duration: 0.7,
|
||||
duration: 0.5,
|
||||
ease: "easeInOut",
|
||||
},
|
||||
},
|
||||
exit: {
|
||||
clipPath: "polygon(100% 0, 100% 0, 100% 100%, 100% 100%)",
|
||||
opacity: 0,
|
||||
transition: {
|
||||
duration: 0.7,
|
||||
duration: 0.5,
|
||||
ease: "easeInOut",
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user