0
.container {
width: 100%;
display: grid;
align-content: center;
grid-gap: 10px;
grid-template-columns: auto;
grid-template-rows: 3fr 15fr 10fr auto;
grid-template-areas:
'header-top header-top'
'header-hackacenter header-inscrevase'
'premio botao'
'jurado jurado jurado jurado'
'org org org org'
'logo slogan'
'patrocinador patrocinador patrocinador'
'footer-links footer-copyright'
;
}
.nav {
display: subgrid;
grid-area: header-top;
grid-template-areas:
'header-logo header-links'
}
.header-logo {
justify-content: start;
grid-area: header-logo;
}
.header-links {
justify-content: end;
grid-area: header-links;
}
PS: header-logo and header-links are within Nav and this within container.
Send your HTML please
– Ivan Vilanculo
Here for you to test: https://codepen.io/danilosilvadev/pen/qXMvdN?fref=gc
– Danilo Silva
I would like the logo to be aligned to the left and the menu to the right.
– Danilo Silva