https://codepen.io/Heisenberg012/pen/abdbwJq?editors=1100I am trying to make my projects section responsive that when screen is 940px or below, the project section has 1 column and 4 rows so that each projects takes up 1 row. check my code to see the problem.
TIA
@media only screen and (max-width: 940px) {
*{
box-sizing:border-box;
list-style:none;
margin:0 0;
text-decoration:none;
}
.container{
display:flex;
grid-template-columns:400px;
grid-template-rows:auto auto auto auto;
}
}