aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/constants/animations.tsx
diff options
context:
space:
mode:
authorEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-12-13 00:19:35 +0800
committerEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-12-13 00:20:00 +0800
commit405667fa833413863809bbea83bf6fab8a589e87 (patch)
tree27115fd51b2bd9a4ab55b7db2c95e98083667ddb /packages/website/ts/@next/constants/animations.tsx
parent0a3162915fa587c6d27e5d8ff801449b54b5642f (diff)
downloaddexon-sol-tools-405667fa833413863809bbea83bf6fab8a589e87.tar
dexon-sol-tools-405667fa833413863809bbea83bf6fab8a589e87.tar.gz
dexon-sol-tools-405667fa833413863809bbea83bf6fab8a589e87.tar.bz2
dexon-sol-tools-405667fa833413863809bbea83bf6fab8a589e87.tar.lz
dexon-sol-tools-405667fa833413863809bbea83bf6fab8a589e87.tar.xz
dexon-sol-tools-405667fa833413863809bbea83bf6fab8a589e87.tar.zst
dexon-sol-tools-405667fa833413863809bbea83bf6fab8a589e87.zip
tries out some transitions
Diffstat (limited to 'packages/website/ts/@next/constants/animations.tsx')
-rw-r--r--packages/website/ts/@next/constants/animations.tsx12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/website/ts/@next/constants/animations.tsx b/packages/website/ts/@next/constants/animations.tsx
new file mode 100644
index 000000000..aed6ffec7
--- /dev/null
+++ b/packages/website/ts/@next/constants/animations.tsx
@@ -0,0 +1,12 @@
+import { keyframes } from 'styled-components';
+
+export const fadeIn = keyframes`
+ 0% {
+ transform: translateY(10px);
+ opacity: 0;
+ }
+ 100% {
+ transform: translateY(0);
+ opacity: 1;
+ }
+`;