37 lines
705 B
CSS
37 lines
705 B
CSS
|
|
section header { grid-area: header; }
|
|
section article { grid-area: article; }
|
|
section .mouse { grid-area: mouse; }
|
|
section .banner { grid-area: banner; }
|
|
|
|
section {
|
|
display: grid;
|
|
margin: 0px;
|
|
width: 100vw;
|
|
grid:
|
|
' . header . ' 1fr
|
|
' . article . ' auto
|
|
' . mouse . ' auto
|
|
' banner banner banner ' auto
|
|
/ 1fr auto 1fr ;
|
|
grid-gap: 10px;
|
|
gap: 10px;
|
|
}
|
|
|
|
section header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
place-content: center;
|
|
}
|
|
section footer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
section header h1 {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
|