header fixe
This commit is contained in:
@@ -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%;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user