Am working but on portfolio.
Am trying to make the nav bar fixed but its just not working. I have tried a lot of things but nothing seems to work. Please help me out.
this is the css for my nav:
nav{
background:#212324;
postion:fixed;
width:100%;
top:0;
left:0;
right:0;
}
main{
margin-top:-16px;
background:red;
}
here is a link to my pen.