Quantcast
Channel: Active questions tagged flexbox - Stack Overflow
Viewing all articles
Browse latest Browse all 1472

Create CSS grid that collapses columns if text in containers are to long to fit [closed]

$
0
0

Problem:

I want to create a CSS grid that contains 2 columns, but collapses into 1 column if the text/content inside any of the containers are to long to fit. The grid width should be 100% of its parent container. It should not collapse based on specific media queries, but rather the content of the containers, and the fact that the grid width is 100% of its parent.

enter image description here

Any ideas are much appreciated!


Viewing all articles
Browse latest Browse all 1472

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>