KKeine Bearbeitungszusammenfassung |
KKeine Bearbeitungszusammenfassung |
||
Zeile 51: | Zeile 51: | ||
.flexelement { | .flexelement { | ||
width:49%; | width:49%; | ||
background-color: red; | |||
} | } | ||
} | } | ||
Zeile 57: | Zeile 58: | ||
.flexelement { | .flexelement { | ||
width:100%; | width:100%; | ||
background-color: green; | |||
} | } | ||
Version vom 28. Mai 2019, 10:38 Uhr
.Voraussetzungen li { margin-bottom: 15px; } .flexbox { width: 100%; display:flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; justify-content: space-between; margin: 0px; } .flexelement { max-width:32%; align-items: stretch; border: 1px solid #c8ccd1; padding: 3px; background-color: #f8f9fa; font-size: 94%; text-align: center; overflow: hidden; margin: 3px; } .thumbinner { border: 0px solid #c8ccd1; padding: 0px; background-color: #f8f9fa; font-size: 94%; text-align: left; overflow: hidden; } .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:49%; background-color: red; } } @media (max-width: 600px) { .flexelement { width:100%; background-color: green; } .grid-box { display:grid; grid-template-columns: 98%; } } /* Ende Formatierungen für Mobil-Geräte */