<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<form action="" onsubmit="return validation();">
<div class=" w-100 bg-white rounded form-group" style="padding-left: 6%;padding-top: 4%;padding-bottom: 5%;">
<div class="mb-2 mt-2 text-dark w-75 border-dark">
<label for="">Username:</label>
<input type="text" id="user" name="username" class="form-control" autocomplete="off">
<span id="userid" class="text-info"></span>
<br>
<label for="">E-mail</label>
<input type="email" id="mail" name="mailname" class="form-control" autocomplete="off">
<span id="mailid" class="text-info"></span>
<br>
<label for="">Password</label>
<input type="password" id="pass" name="passname" class="form-control" autocomplete="off">
<span id="passid" class="text-info"></span>
<br>
<label for="">Confirm password</label>
<input type="password" name="con" id="conpass" class="form-control" autocomplete="off">
<span id="conid" class="text-info"></span>
<br>
<button class="btn " style="background-color: brown;">Submit</button>
</div>
</div>
</form>