Answers for "css sticky header scroll"

CSS
-1

how to scroll fixed position

.fixed-content {
    top: 0;
    bottom:0;
    position:fixed;
    overflow-y:scroll;
    overflow-x:hidden;
}
Posted by: Guest on June-20-2020
1

css sticky navigatiojn

nav {
	position:sticky;
	top:0;
}

/*Top can be replaced with bottom, left, or right 
	depending on what you want :) */
Posted by: Guest on November-05-2020

Browse Popular Code Answers by Language