I don’t know why my navigation bar changed like this after after i used
position: fixed;
remove:
nav{
float: right;
}
to prevent the text from floating.
You also don’t need
container{
width: 100%;
}
if you change .stick to
.stick{
position: fixed;
width: 100%;
}
Thank you very much !