Created
September 19, 2020 14:16
-
-
Save swarad07/c2e42ace1825bafff9d045295f58efaf to your computer and use it in GitHub Desktop.
position sticky - gist 1
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
.selector { | |
position: fixed; | |
// This can be any position you want the selector to stick to. | |
// Use left, right, bottom as well. | |
top: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment