I know how to center a cell within the available space - see example below. How can I adapt the below to position the "Two" cell in the center of the viewport, not just center it in the remaining space after "One One One". I have added second line with a "Two" to show where center is.
#one {
grid-area: "one";
justify-self: start;
align-self: center;
}
#two {
grid-area: "two";
place-self: center;
}
#nav {
display: grid;
grid-template-columns: auto 1fr;
grid-template-rows: auto;
grid-template-areas: "one two";
}
#centered {
text-align: center;
}
<div id="nav">
<div id="one">One One One</div>
<div id="two">Two</div>
</div>
<div id="centered">Two</div>