I am trying to create a layout with two columns, where text is on the left side and a large image is on the right. I am utilizing col s12 l6
to ensure that these elements stack on top of each other on smaller screens.
In the design, I need the text on the left to be vertically aligned on larger screens but display normally on smaller screens. My framework of choice is Materialize.
<div class = "container">
<div class = "row" style="border:solid">
<div class = "col s12 l6" style="border:solid">
<p>I want to have vertical alignment in the parent container on large screens, but function regularly on small screens.</p>
</div>
<div class = "col s12 l6" style="border:solid">
<img src="https://comotion.uw.edu/wp-content/uploads/2017/06/image.jpg" ></img>
</div>
</div>
Desired layout for big screens: https://i.sstatic.net/uGEYG.png Desired layout for small screens: https://i.sstatic.net/dxsro.png