flex to grid on the main section
This commit is contained in:
parent
333c7c6ae9
commit
47d4ef2363
1 changed files with 6 additions and 2 deletions
|
|
@ -13,9 +13,13 @@ body{
|
||||||
section{
|
section{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
/* affichage des images en lignes avec retour à la ligne (wrap)*/
|
/* affichage des images en lignes avec retour à la ligne (wrap)*/
|
||||||
display: flex;
|
display: grid;
|
||||||
flex-direction: row;
|
/* flex-direction: row;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
justify-content: center; */
|
||||||
|
grid-template-columns: repeat(3, 300px);
|
||||||
|
grid-template-rows: repeat(3, auto);
|
||||||
|
grid-gap: 26px;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue