This grid works fine except that when I center the text on the right the br stops working so a ends up on its own line... Tho it works fine without the link or without the center.
I can fix this with a p or div wrapper around that collection of text but maybe a better way?
Sorry for ignorance. Thanks.
.container {
display: grid;
grid-template-columns: 1fr 1fr;
}
.right {
background-color: lightgray;
display: flex;
align-items: center;
}
.left {
background-color: darkgray;
}
<div class=container>
<div class="left">
left<br>left<br>left<br>left
</div>
<div class="right">
<a href="http://www.google.com">google</a><br>right<br>right
</div>
</div>
<div class=container>
<div class="left">
left<br>left<br>left<br>left
</div>
<div class="right">
google<br>right<br>right
</div>
</div>