Bootstrap Fancy Register Form





Source Code:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Testing</title>
<!-- Bootstrap -->
<link href="css/bootstrap.css" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=PT+Sans' rel='stylesheet' type='text/css'>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->

<style>
#form{background: #2D3E3F;padding:10px 30px;font-family: 'PT Sans', sans-serif;color:#FFF;}
#form h3{margin-top: 0px !important;margin-bottom: 10px; letter-spacing: 2px;font-size: 32px;}
#form .input-group-addon {border-radius: 0px;}
#form .form-control { height: 40px;font-size: 15px;border-radius: 0px;}
#form .input-group-addon { background-color: #f26303; border: 1px solid #f26303;color: #FFF; }
.button {color: #FFF;background-color: #f26303;border-color: #ccc; padding: 12px; border-radius: 0px;}}
.button:hover {background: #f26303;color: #FFF;}
.button span {font-size: 18px;cursor: pointer;display: inline-block;position: relative;transition: 0.5s;}
.button span:after { content: '»'; position: absolute;opacity: 0;top: 0;right: -20px;transition: 0.5s;}
.button:hover span { padding-right: 25px;}
.button:hover span:after { opacity: 1;right: 0;}
</style>
</head>
<body>
<div class="container">
<div class="col-md-4 col-md-offset-4" id="form">
<form role="form" method="get" action="#" >
<h3 class="text-center">Register</h3>
<div class="form-group">
<div class="input-group">
<div class="input-group-addon"><span class="glyphicon glyphicon-user" aria-hidden="true"></span></div>
<input type="text" class="form-control" id="name" placeholder="Enter the Name" />
</div>
</div>
<div class="form-group">
<div class="input-group">
<div class="input-group-addon"><span class="glyphicon glyphicon-envelope" aria-hidden="true"></span></div>
<input type="text" class="form-control" id="name" placeholder="Enter the Email Address" />
</div>
</div>

<div class="form-group">
<div class="input-group">
<div class="input-group-addon"><span class="glyphicon glyphicon-lock" aria-hidden="true"></span></div>
<input type="text" class="form-control" id="name" placeholder="Enter the Password " />
</div>
</div>


<div class="form-group">
<div class="input-group">
<div class="input-group-addon"><span class="glyphicon glyphicon-lock" aria-hidden="true"></span></div>
<input type="text" class="form-control" id="name" placeholder="Enter the Confirm Password" />
</div>
</div>


<div class="form-group">
<div class="input-group">
<div class="input-group-addon"><span class="glyphicon glyphicon-tasks" aria-hidden="true"></span></div>
<select class="form-control" >
<option>Select </option>
</select>
</div>
</div>

<div class="form-group">
<div class="input-group">
<div class="input-group-addon"><span class="glyphicon glyphicon-earphone" aria-hidden="true"></span></div>
<input type="text" class="form-control" id="name" placeholder="Enter the Contact Number" />
</div>
</div>
<button type="submit" class="btn btn-default btn-block button"><span>Submit</span></button>
</form>
</div>
</div>

<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>