DeniseO25 / prj-rev-bwfs-tea-cozy

1 stars 0 forks source link

Navigation bar #5

Open tommygebru opened 5 years ago

tommygebru commented 5 years ago

You can allow the navigation bar to stick to the top of your webpage using the style top: 0; The top css property is used for css positioning, you can read more about here https://developer.mozilla.org/en-US/docs/Web/CSS/top

For example:

header {position: fixed; top:0; }
tommygebru commented 5 years ago

Also great work including flexbox styles into your header element and being able to center the content, however consider using a different value for justify-content: like space-around or even better space-between For a quick refresher check out this flexbox resource A Complete Guide to Flexbox | CSS-Tricks