HTML code
Clean, semantic HTML that powers this Bootstrap 4.4.1 snippet. Copy and paste it into your page (with Bootstrap loaded) to reproduce the exact layout shown in the preview.
Download<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/material-design-iconic-font/2.2.0/css/material-design-iconic-font.min.css" integrity="sha256-3sPp8BkKUE7QyPSl6VfBByBroQbKxKG7tsusY2mhbVY=" crossorigin="anonymous" />
<div class="container">
<div class="row">
<div class="col-md-11 mt-60 mx-md-auto">
<div class="login-box bg-white pr-lg-5 pr-0">
<div class="row no-gutters align-items-center">
<div class="col-md-6 order-md-last">
<div class="form-wrap bg-white">
<h4 class="btm-sep pb-3 mb-5">Register</h4>
<form class="form" method="post" action="#">
<div class="row">
<div class="col-12">
<div class="form-group position-relative">
<span class="zmdi zmdi-account"></span>
<input type="text" id="username" class="form-control" placeholder="Username">
</div>
</div>
<div class="col-12">
<div class="form-group position-relative">
<span class="zmdi zmdi-email"></span>
<input type="email" id="email" class="form-control" placeholder="Email Address">
</div>
</div>
<div class="col-12">
<div class="form-group position-relative">
<span class="zmdi zmdi-lock"></span>
<input type="password" id="password" class="form-control" placeholder="Password">
</div>
</div>
<div class="col-12">
<button type="submit" id="submit" class="btn btn-lg btn-custom btn-dark btn-block">
Sign Up
</button>
</div>
</div>
</form>
</div>
</div>
<div class="col-md-6 order-md-first">
<div class="content text-center">
<div class="border-bottom pb-5 mb-5">
<h3 class="c-black">Already have an account?</h3>
<a href="login.html" class="btn btn-custom">sign In</a>
</div>
<h5 class="c-black mb-4 mt-n1">Or Sign Up With</h5>
<div class="socials">
<a href="#" class="zmdi zmdi-facebook"></a>
<a href="#" class="zmdi zmdi-twitter"></a>
<a href="#" class="zmdi zmdi-google"></a>
<a href="#" class="zmdi zmdi-instagram"></a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>CSS code
Scoped CSS that styles the component. Paste it after Bootstrap 4.4.1 to keep the design, spacing, and responsiveness consistent.
Downloadbody{
background-image: -webkit-gradient(linear, left top, right top, from(#4e63d7), to(#76bfe9)) !important;
background-image: linear-gradient(to right, #4e63d7 0%, #76bfe9 100%) !important;
margin-top:20px;}
/* ===== LOGIN PAGE ===== */
.login-box {
-webkit-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
border-radius: 10px;
}
@media (min-width: 992px) {
.login-box {
margin: 40px 0;
}
}
.login-box .form-wrap {
padding: 30px 25px;
border-radius: 10px;
-webkit-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
.login-box .form-wrap {
padding: 45px;
}
}
@media (min-width: 992px) {
.login-box .form-wrap {
margin-top: -40px;
margin-bottom: -40px;
padding: 60px;
}
}
.login-box .socials a {
-webkit-box-shadow: 0 3px 2px 0 rgba(0, 0, 0, 0.12);
box-shadow: 0 3px 2px 0 rgba(0, 0, 0, 0.12);
}
.login-section {
position: relative;
z-index: 0;
}
.login-section::after {
position: absolute;
content: '';
right: 0;
left: 0;
bottom: 0;
width: 100%;
height: 100%;
opacity: 0.15;
z-index: -1;
background-size: cover;
background-repeat: no-repeat;
background-position: top right;
-webkit-animation-duration: 3s;
animation-duration: 3s;
-webkit-animation-direction: alternate;
animation-direction: alternate;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-name: pulse;
animation-name: pulse;
}
.login-section::before {
position: absolute;
content: '';
opacity: 0.10;
right: 0;
left: 0;
bottom: 0;
width: 100%;
height: 100%;
z-index: -1;
background-size: cover;
background-position: top right;
-webkit-animation-duration: 6s;
animation-duration: 6s;
-webkit-animation-direction: alternate;
animation-direction: alternate;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-name: pulse;
animation-name: pulse;
}
.login-section .content {
padding: 45px;
}
.form-group .zmdi {
position: absolute;
z-index: 1;
color: #fff;
background-color: #4e63d7;
border-radius: 5px;
height: 100%;
width: 45px;
text-align: center;
font-size: 20px;
padding-top: 13px;
}
.form-group input[type='text'], .form-group input[type='email'], .form-group input[type='password'] {
padding-left: 60px;
}
.form-control {
border: 1px solid #e1e1e1;
-webkit-box-shadow: none;
box-shadow: none;
border-radius: 5px;
-webkit-transition: all .3s ease;
transition: all .3s ease;
background-color: #fff;
color: #858585;
font-weight: 400;
position: relative;
}
h3 {
font-size: 35px;
}
.login-box .socials a {
-webkit-box-shadow: 0 3px 2px 0 rgba(0, 0, 0, 0.12);
box-shadow: 0 3px 2px 0 rgba(0, 0, 0, 0.12);
}
.socials a {
width: 35px;
height: 35px;
background-color: #6893e1;
border-radius: 50%;
-webkit-box-shadow: 0 3px 2px 0 #516cd9;
box-shadow: 0 3px 2px 0 #516cd9;
text-align: center;
color: #fff;
padding-top: 10px;
font-size: 16px;
margin-right: 10px;
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
}
FAQ
How do I use this snippet?
Include Bootstrap 4.4.1, 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 4.4.1.
About this bootstrap example/template
This free Bootstrap 4.4.1 snippet, blue sign up, was published on Mar 6th 2020, 15:44 by Bootdey Admin.
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 7.6K+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.
Bootstrap 4.4.1
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css'>
<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js'></script>
This code example is based on bootstrap 4.4.1 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
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