Utilizing twitter bootstrap and its cover example as a foundation, I have incorporated additional input fields and am striving to center the second one (email
) horizontally. Despite my attempts to use .center-block
and .text-center
on various div
elements, I have yet to achieve the desired alignment. Any suggestions for a solution?
Below is the provided code snippet:
<p class="lead">Some other text to demonstrate something else</p>
<div class="lead">
<div class="form-group">
<div class="text-center center-text">
<div class="input-group input-group-lg">
<input type="email" class="form-control" id="email">
</div>
</div>
</div>
<button type="button" class="btn btn-lg btn-secondary" id="analyze" data-loading-text="Wait...">Analyze</button>
</div>
Additionally, a link to the jsfiddle is available for reference.