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

Flex layout with two 'modes' [closed]

$
0
0

I want to have a layout that adjusts depending on two content profiles. Both have a close button in the upper right corner. The only difference is that the first has a title plus content, while the second only has content (no title).

This is case #1:

enter image description here

In case 2, I want the content section to take over the title area present in case #1.

enter image description here

I haven't done something like this before, and my flex skills haven't seen any action in quite a while, so I'd appreciate some help here.


Viewing all articles
Browse latest Browse all 1675

Trending Articles



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