KKeine Bearbeitungszusammenfassung |
KKeine Bearbeitungszusammenfassung |
||
Zeile 10: | Zeile 10: | ||
/* align-items: stretch; */ | /* align-items: stretch; */ | ||
align-items : flex-start; | align-items : flex-start; | ||
/* justify-content: space-between; */ | |||
justify-content: flex-start; | |||
margin: 10px; | margin: 10px; | ||
background: lightgreen; | background: lightgreen; |
Version vom 28. Mai 2019, 09:10 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; */ justify-content: flex-start; margin: 10px; background: lightgreen; } .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 */