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

How to create equal height row & stack column one below other in small view?

$
0
0

I want to create the grid with two columns & some rows such that both rows have same height (max height). But in my case rows of unequal heights are getting created. For example, column1: row1 have less content so its height is small but if adjacent column2: row1 has more content its getting more height & thus creating unequal/unaligned columns.

The grid I want to achieve is:

For desktop screens:

Desktop View

For small screens:

Mobile View

Could you please advise me on how can I get the desired result?

Edit: I just need 2 columns & several row/container in desktop.


Viewing all articles
Browse latest Browse all 1675

Trending Articles



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