Last active
April 12, 2019 13:23
-
-
Save tuanbbhero/b8698a0b5d7af35cd09a9ff638878282 to your computer and use it in GitHub Desktop.
Full-height sticky row on right and left, created by BeaverHero.com
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
/* If you want to sticky on RIGHT, use this css */ | |
@media screen and (min-width:991px) { | |
.kl-fixed-sidebar { | |
position: fixed; | |
top:0; | |
bottom:0; | |
right:0; | |
height:100%; | |
z-index:9000; | |
width: 250px; | |
background-color: #f5f5f5; | |
} | |
} | |
/* If you want to sticky on LEFT, use this css */ | |
@media screen and (min-width:991px) { | |
.kl-fixed-sidebar { | |
position: fixed; | |
top:0; | |
bottom:0; | |
left:0; | |
height:100%; | |
z-index:9000; | |
width: 250px; | |
background-color: #f5f5f5; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment