:root{ --meme-wsize: 50vw; --meme-vsize: 26vw; } .Liste{ width:100%; height:100vh; overflow: scroll; } .memeContainer { border-color: black; border-width: 3px; border-radius: 5px; border-style: solid; margin : 5%; margin-right: 2.5%; padding: 16px; background: rgba(255, 255, 255, 0.527); } .meme{ width: 100%; left: 0; border-radius:10px; } .row { display: flex; flex-wrap: wrap; padding: 0 1px; } /* Create deux equal columns that sits next to each other */ .column { flex: 33%; max-width: 33%; padding: 0 1px; } .column img { vertical-align: middle; width: 100%; height: auto; } /* Responsive layout - makes a two column-layout instead of four columns */ @media screen and (max-width: 800px) { .column { flex: 100%; max-width: 100%; } } /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */ @media screen and (max-width: 600px) { .column { flex: 100%; max-width: 100%; } }