eduinafbackupcode/eduinafoldcode/css/grid.css

26 lines
335 B
CSS

.grid-wrap {
display: flex;
flex-flow: row wrap;
align-items: center;
justify-content: center;
list-style: none;
}
.grid-item {
flex-basis: 160px;
height: 250px;
padding: 5px;
margin: 10px;
}
.grid-item img {
display: block;
margin-left: auto;
margin-right: auto;
max-width: 160px;
}
.grid-wrap ul {
margin-left: 0;
}