HTML code
Clean, semantic HTML that powers this Bootstrap 3.3.7 snippet. Copy and paste it into your page (with Bootstrap loaded) to reproduce the exact layout shown in the preview.
Download<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.0/css/materialize.min.css'>
<link rel='stylesheet prefetch' href='https://fonts.googleapis.com/icon?family=Material+Icons'>
<link href="https://fonts.googleapis.com/css?family=Caveat:400,700" rel="stylesheet">
<body ng-controller="RegisterCtrl" ng-app="myApp">
<div class="container">
<div id="signup">
<div class="signup-screen col-sm-6 col-sm-offset-3">
<div class="space-bot text-center">
<h1>Sign up</h1>
<div class="divider"></div>
</div>
<form class="form-register" method="post" name="register" novalidate>
<div class="input-field col s6">
<input id="first-name" type="text" class="validate" required>
<label for="first-name">First Name</label>
</div>
<div class="input-field col s6">
<input id="last-name" type="text" class="validate" required>
<label for="last-name">Last Name</label>
</div>
<div class="input-field col s6">
<input id="email" type="email" name="email" ng-model="email" class="validate" required>
<label for="email">Email</label>
</div>
<p class="alert alert-danger" ng-show="form-register.email.$error.email">Your email is invalid.</p>
<div class="input-field col s6">
<input id="password" type="password" name="password" ng-model="password" ng-minlength='6' class="validate" required>
<label for="password">Password</label>
</div>
<p class="alert alert-danger" ng-show="form-register.password.$error.minlength || form.password.$invalid">Your password must be at least 6 characters.</p>
<div class="space-top text-center">
<button ng-disabled="form-register.$invalid" class="waves-effect waves-light btn done">
<i class="material-icons left">done</i> <a href="http://cookingfoodsworld.blogspot.in/" target="_blank">Done</a>
</button>
<button type="button" class="waves-effect waves-light btn cancel">
<i class="material-icons left">clear</i>Cancel
</button>
</div>
</form>
</div>
</div>
</div>
</body>
<script src='http://code.jquery.com/jquery-2.1.4.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.0/js/materialize.min.js'></script>
<script src='https://ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular.min.js'></script>CSS code
Scoped CSS that styles the component. Paste it after Bootstrap 3.3.7 to keep the design, spacing, and responsiveness consistent.
Download@import url('https://fonts.googleapis.com/css?family=Caveat:400,700');
body {
min-height:100%;
background:url(http://blog.jobs24.co.uk/wp-content/uploads/2014/06/resign-letter.jpg);
font-family: 'Caveat', cursive;
background-size: cover;
background-attachment: fixed;
}
.text-center{
text-align: center;
}
.space-bot{
margin-bottom: 35px;
}
.space-top{
margin-top: 35px;
}
/* Title */
h1 {
color: white;
font-family: 'Roboto';
text-transform: uppercase;
font-weight: 900;
font-size: 25px !important;
text-align: center;
font-family: 'Caveat', cursive;
}
/* Sign Up */
.container {
max-width: 400px;
max-height: 100px;
margin-top: 10px;
}
.alert-danger{
text-align: center;
}
.signup-screen {
padding: 20px;
padding-bottom: 40px;
border-radius: 5px;
background-color: #2c3940;
box-shadow: 0 1px 6px rgba(0,0,0,.3);
color: white;
}
.btn{
border-radius: 2px;
}
.cancel{
background-color: #df405a;
}
.done{
background-color: #5CAB7D;
}
.done:hover{
background-color: #6dc793;
}
.done:focus{
background-color: #6dc793;
}
.cancel:hover{
background-color: #f0435f;
}
.cancel:focus{
background-color: #f0435f;
}
.input-group {
width:100%;
}
.input-group .ng-invalid {
border: 2px solid #e74c3c;
border-radius: 3px;
}
/* Error Box */
.alert{
padding: 15px;
margin-bottom: 20px;
border: 1px solid transparent;
border-radius: 2px;
border-color: #e85a71;
background-color: #e85a71;
color: white;
}
.help-block {
font-size: 12px;
color: white
}
.signup-screen {
margin-bottom: 10%;
margin-top: 10%;
}Javascript/Jquery code
Lightweight JS to power any interactions this snippet needs. Drop it under your scripts (after Bootstrap 3.3.7) to mirror the live demo.
Downloadvar myApp = angular.module("myApp", []);
myApp.controller("RegisterCtrl", function ($scope) {
}); FAQ
How do I use this snippet?
Include Bootstrap 3.3.7, paste the HTML, add the CSS block, and include the JS (if any) to mirror the live preview.
Can I use it in commercial projects?
Yes. It’s free for personal and commercial work; check the snippets license for details.
Is it responsive?
Yes. It inherits the responsive grid and components from Bootstrap 3.3.7.

About this bootstrap example/template
This free Bootstrap 3.3.7 snippet, SignUpForm, was published on Sep 4th 2017, 11:05 by HARUN PEHLIVAN.
Optimized for copy‑paste: clean HTML, scoped CSS, and minimal JS so you can ship production‑ready UI faster and keep designs consistent.
Mobile‑first and responsive by default. Tested across modern browsers to reduce polish time on your project.
Already trusted in 1.3K+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.
Bootstrap 3.3.7
<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css'>
<script src='https://netdna.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js'></script>
This code example is based on bootstrap 3.3.7 and the grid system of this framework
Responsive
Based on bootstrap framework makes all the layouts perfectly responsive for all devices
Crossbrowser compatibility
Tested on all major browsers, it works smoothly on all of them
Jquery plugins
Great built-in plugins with jquery framework, you can easy to change all declarations
semantic html 5
Built on html / css3 the code quality is really amazing
Simple Integration
This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working