I have implemented a form using Bootstrap 4 and here is the code:
<link href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="dcbeb3b3a8afa8aebdac9ce8f2eaf2ec">[email protected]</a>/dist/css/bootstrap.min.css" rel="stylesheet"/>
<div class="container">
<div class="row">
<div class="col-xl-12 col-lg-12 col-md-12">
<div class="d-flex align-items-center justify-content-center" style="height:100vh;">
<h1>My header tagline.</h1>
<div class="row">
<div class="col-md-12">
<form action=""
enctype="multipart/form-data"
method="POST">
<div class="form-inline">
<input class="form-control" type="email" name="email" value=""
placeholder="Enter your Email">
<button class="btn btn-primary">enter</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
I am facing an issue with centering the text as shown in the image below:
https://i.sstatic.net/J6i6f.png
Can someone help me identify what's wrong with my CSS?
Your assistance is highly appreciated!