Having trouble making flexbox work with Susy? Here's what I've tried so far.
I've experimented with various solutions found here, but couldn't get it to work consistently across different screen sizes. The heights of text containers and image containers seem to break, especially on mobile views larger than 38em.
Whenever I apply display: flex
to the items within the container, they appear in a single row instead of being stacked as intended.
I also noticed that I need to use display properties for the images as well...
<div class="l-wrap-page">
<!-- Start Main Content Wrapper -->
<div class="l-wrap-main">
<!-- Start Quote -->
<div class="c-quote">
<h2 class="c-quote__title">Quote</h2>
<div class="c-quote__content">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
<button class"o-btn">mehr</button>
</div>
<!-- End Quote -->
<!-- Start Content Block -->
<div class="c-block">
<div class="c-block__item">
<div class="o-media">
<img src="http://dummyimage.com/650x325/000/fff" alt="">
</div>
</div>
<div class="c-block__item">
...
<p>CSS:</p>
<pre><code> ...