Last active
October 7, 2020 22:35
-
-
Save wplit/503913ce86215f839400c24be59330d8 to your computer and use it in GitHub Desktop.
Make offcanvas fade instead of slide
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.oxy-off-canvas .offcanvas-inner { | |
-ms-transform: none; | |
transform: none; | |
-webkit-transform: none; | |
visibility: hidden; | |
opacity: 0; | |
-webkit-transition: all .5s cubic-bezier(0.77,0,0.175,1); | |
-o-transition: all .5s cubic-bezier(0.77,0,0.175,1); | |
transition: all .5s cubic-bezier(0.77,0,0.175,1); | |
} | |
.oxy-off-canvas-toggled.oxy-off-canvas .offcanvas-inner { | |
opacity: 1; | |
visibility: visible; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment