Added transitions to the Content styles.sass

This commit is contained in:
Mathias Wagner 2023-06-02 17:04:56 +02:00
parent da91440034
commit aeedf51121
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -4,6 +4,24 @@
overflow-y: scroll
overflow-x: hidden
.page-enter
opacity: 0
transform: scale(1.1)
.page-enter-active
opacity: 1
transform: scale(1)
transition: opacity 300ms, transform 300ms
.page-exit
opacity: 1
transform: scale(1)
.page-exit-active
opacity: 0
transform: scale(0.9)
transition: opacity 300ms, transform 300ms
@media screen and (max-width: 1024px)
.content-wrapper
padding: 2rem 22vw 0 2rem