I am looking to incorporate the Back
and Next
buttons into my screen design in a fixed position at the bottom. However, when I resize the screen, the buttons end up moving to the top or bottom (see screenshots attached). Can someone review my code and provide a solution?
https://i.sstatic.net/H30N4.png https://i.sstatic.net/pdvZ7.png
Code
<div id="text-area">
<p class="mb-4">
<strong>Textarea</strong>
</p>
<textarea></textarea>
<p class="d-flex justify-content-between">
<button class="btn btn-link button" id="back">
<i class="fa fa-long-arrow-alt-left me-3"></i>
Back
</button>
<button class="btn btn-link button" id="next">
Next
<i class="fa fa-long-arrow-alt-right ms-3"></i>
</button>
</p>
</div>