sticky header
This commit is contained in:
@@ -22,9 +22,12 @@
|
||||
}
|
||||
|
||||
#header {
|
||||
/* make header fixed to top when the content bellow starts scrolling */
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
position: relative;
|
||||
border-bottom: lightgray 1px solid;
|
||||
height: 2.5rem;
|
||||
alignment-baseline: center;
|
||||
|
||||
Reference in New Issue
Block a user