My website's CSS code includes the following:
*{
height: 100%;
width: 100%;
margin: 0;
}
.grid{
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
}
.grid div:nth-child(odd){
border: black 2px solid;
}
.grid div:nth-child(even){
border: black 2px solid;
}
I am trying to have four boxes arranged, but currently it is creating a new box for each HTML tag instead of placing it correctly, as shown in this screenshot.
The visible low poly section is not displaying the content correctly in the four boxes.
You can view the template here.