My goal is to have two inputs placed inside a container, one above the other with no space in between and without separate borders for each input. I am using Bootstrap, but so far my attempts with vertical alignment have been unsuccessful. Here is the code I have:
<div class=" col-4 offset-md-4 text-center list-group">
<li style="list-style: none;">
<input type="email" name="" class="form-control list-group-item" placeholder="Email address">
</li>
<li style="list-style: none">
<input type="password" name="" class=" form-control list-group-item" placeholder="Password">
</li>
</div>
I would like these inputs to mimic the appearance of "list groups" in Bootstrap, but with input elements instead of list items. The following is an example of the bootstrap list code:
<ul class="list-group">
<li class="list-group-item">Cras justo odio</li>
<li class="list-group-item">Dapibus ac facilisis in</li>
<li class="list-group-item">Morbi leo risus</li>
<li class="list-group-item">Porta ac consectetur ac</li>
<li class="list-group-item">Vestibulum at eros</li>
</ul>