KKeine Bearbeitungszusammenfassung |
KKeine Bearbeitungszusammenfassung |
||
Zeile 8: | Zeile 8: | ||
flex-direction: row; | flex-direction: row; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
align-items: | /* align-items: stretch; */ | ||
align-items : flex-start; | |||
justify-content: space-between; | justify-content: space-between; | ||
margin: 10px; | margin: 10px; |
Version vom 28. Mai 2019, 09:06 Uhr
.Voraussetzungen li { margin-bottom: 15px; } .flexbox { width: 100%; display:flex; flex-direction: row; flex-wrap: wrap; /* align-items: stretch; */ align-items : flex-start; justify-content: space-between; margin: 10px; background: green; } .flexelement { width:300px; } .grid-box { display:grid; grid-template-columns: 24% 24% 24% 24%; } .gallery-header { font-size: 22px; font-style: italic; } /*** Formatierungen für Mobil-Geräte ***/ @media (max-width: 900px) { .flexelement { width:100%; } .grid-box { display:grid; grid-template-columns: 98%; } } /* Ende Formatierungen für Mobil-Geräte */