Added transitions to the Content styles.sass
This commit is contained in:
parent
da91440034
commit
aeedf51121
@ -4,6 +4,24 @@
|
|||||||
overflow-y: scroll
|
overflow-y: scroll
|
||||||
overflow-x: hidden
|
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)
|
@media screen and (max-width: 1024px)
|
||||||
.content-wrapper
|
.content-wrapper
|
||||||
padding: 2rem 22vw 0 2rem
|
padding: 2rem 22vw 0 2rem
|
||||||
|
Reference in New Issue
Block a user