il file css per la griglia del loop

This commit is contained in:
ulaulaman 2018-02-17 01:22:05 +01:00 committed by GitHub
parent 5630d2e81c
commit bc1097aacc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

25
incl/grid.css Normal file
View File

@ -0,0 +1,25 @@
.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;
}