Ensure the remaining content doesn't hide behind the #navbar
Sat Oct 09 2021 11:20:02 GMT+0000 (Coordinated Universal Time)
Saved by @ianvalentino #html #forms
Oh no! You spent days creating this awesome, static blog website but now your client wants the navigation bar fixed at the top of the screen. You managed to fix the #navbar element but it appears that the top of the remaining content hides behind the navigation bar! How will you sort it out? Your #navbar has the height of 100px exactly.
https://www.codecademy.com/practice/tracks/learn-css/modules/learn-css-display-positioning
Comments