kopia lustrzana https://github.com/cblgh/lieu
Turned header into a fixed element, main takes 100vh
rodzic
e1dc940d9f
commit
029f2a40a0
|
@ -1,12 +1,14 @@
|
|||
header {
|
||||
position: fixed;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
height: 5vh;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
main {
|
||||
height: 95vh;
|
||||
height: 100vh;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue