Answers for "make navbar stick to top"

CSS
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

Code answers related to "make navbar stick to top"

Browse Popular Code Answers by Language