I'm facing a challenge where I need to relocate a DIV element to the bottom of the body without altering the HTML structure. I tried referring to some existing threads for solutions, like this one on Stack Overflow: Moving a div from bottom to top, using only css, but unfortunately, it doesn't seem to work in my specific case. It seems like there might be something I am missing.
Here's the page I am working on:
<section>
<article class="container-fluid">
<div class="row">...</div>
<div class="txt">...</div>
<div class="gallery">...</div>
</article>
</section>
The specific element I am focusing on is DIV.txt. I want it to appear right after the div.gallery, but I am unable to do so manually since the photo gallery automatically generates itself at the bottom. However, I have the flexibility to modify classes and styles.
If you need more information, feel free to ask.