Having some trouble creating a webpage layout with a centered button and text below it. I'm using Bootstrap but running into issues with inconsistent spacing on different devices. Check out my current code:
<div class="container-fluid" style="height: 75vh;">
<div class="h-100 d-flex justify-content-center align-items-center">
<div class="grid">
<div class="row">
<button type="button" class="btn btn-primary btn-xlarge btn-success"
id="button1">
Button!
</button>
</div>
</div>
</div>
<div class="d-flex justify-content-center" style="margin-top: -28%">
<div class="grid">
<div class="row" style="font-size: 24px">
<p id="p1">Lorem Ipsum</p>
</div>
</div>
</div>
</div>
Anyone able to help me troubleshoot this issue? I'm working in HTML5 and Bootstrap 4.