.project-container{
width: 100%;
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 20px;
}
.project-card{
position: relative;
cursor: pointer;
display: block;
}
.project-card img{
width: 80%;
height: 80%;
display: center;
}
Asked
Active
Viewed 21 times
0
-
I think `display: center` is not a property for `display`, so you might need to consider other method to center content – Rana Nov 21 '21 at 19:44