Made nav header fixed

This commit is contained in:
Fabio Manganiello 2019-05-26 04:02:08 +02:00
parent fc08ac7794
commit 561ce4c8aa
2 changed files with 6 additions and 1 deletions

View file

@ -16,7 +16,7 @@ body {
}
main {
margin: auto;
margin: 6rem auto;
}
a {

View file

@ -1,5 +1,10 @@
nav {
margin-bottom: 1.2rem;
position: fixed;
top: 0;
width: 100%;
z-index: 10;
opacity: 0.9;
ul {
position: relative;