header fixe

This commit is contained in:
2021-11-22 13:36:34 +01:00
parent 1b24bf8167
commit fcf19590b6
4 changed files with 10 additions and 165 deletions
@@ -3,8 +3,11 @@
position: relative;
}
header{
display: block;
position: sticky; // sticky marche pas :(
// display: block;
width: 100%;
position: fixed;
z-index: 99;
}
@@ -16,7 +19,7 @@ header{
flex-direction: row;
justify-content: space-between;
color: $black;
position: sticky;
// position: fixed;
top:0%;