diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/Main/Main.module.scss | 4 | ||||
| -rw-r--r-- | src/styles/base/_animations.scss | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/components/Main/Main.module.scss b/src/components/Main/Main.module.scss index 7c20020..819474c 100644 --- a/src/components/Main/Main.module.scss +++ b/src/components/Main/Main.module.scss @@ -1,3 +1,7 @@ .wrapper { flex: 1; + + :global { + animation: fade-in 1.5s ease-in-out 0s 1; + } } diff --git a/src/styles/base/_animations.scss b/src/styles/base/_animations.scss index 773bf1d..7dc0d25 100644 --- a/src/styles/base/_animations.scss +++ b/src/styles/base/_animations.scss @@ -136,3 +136,13 @@ color: var(--color-bg-tertiary); } } + +@keyframes fade-in { + 0% { + opacity: 0; + } + + 100% { + opacity: 1; + } +} |
