Use flex instead of grids
This commit is contained in:
parent
f4a600e7c3
commit
af8cd4e5fb
1 changed files with 4 additions and 3 deletions
|
@ -92,12 +92,13 @@ h3 {
|
|||
|
||||
@media screen and (min-width: 650px) {
|
||||
.grid-container {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-gap: 10px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.grid-child {
|
||||
flex: 0 0 calc(50% - 5px);
|
||||
margin: auto;
|
||||
align-content: center;
|
||||
/* border: 2px white solid; */
|
||||
|
|
Loading…
Reference in a new issue