Last active
May 27, 2020 15:15
-
-
Save anastransvelo/4ea109250d7c37bfe4ef0bb3b3dc768a to your computer and use it in GitHub Desktop.
Electro make header as sticky in footer at mobile view
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
@media (max-width: 1199px) { | |
.site-header { | |
position: fixed; | |
bottom: 0; | |
z-index: 2; | |
right: 0; | |
left: 0; | |
} | |
#scrollUp { | |
bottom: 4rem; | |
} | |
.sticky-wrapper .stick-this.stuck, | |
.handheld-stick-this.stuck { | |
top: auto; | |
animation: none; | |
transform: none; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment