I'm learning web development and I'm trying to build a tribute page for freeCodeCamp assignment. You can see my full page here: https://codepen.io/Art365/pen/ZKxPQj Ideally what I want to happen with second row is this:
When viewport is large, image is on the left and text is to its right. When viewport is small, image is on the bottom and text is on top.
Here is the relevant code snippet:
<div class="row">
<div class="col-lg-6 col-lg-push-6">
<div class="text-content">
<p>text content</p>
</div>
</div>
<div class="col-lg-6 col-lg-pull-6">
<img id="pic2" src="http://www.thefamouspeople.com/profiles/images/karl-landsteiner-3.jpg" alt="Landsteiner" />
</div>
</div>
I realize that very similar questions have been asked here before and I have tried several proposed solutions utilizing pull-left and pull-right, like this one: https://stackoverflow.com/a/20171474/7143798 However, in my case, I can't seem to get the image on the left (in large view) unless I put it first in html. But if I put it first in html, it'll show up on top in small view.