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{
|
||||
width: 100%;
|
||||
/* affichage des images en lignes avec retour à la ligne (wrap)*/
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
display: grid;
|
||||
/* flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center; */
|
||||
grid-template-columns: repeat(3, 300px);
|
||||
grid-template-rows: repeat(3, auto);
|
||||
grid-gap: 26px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue