Bootstrap snippet. LoginFormsInspiration

This Bootstrap snippet. LoginFormsInspiration, was created to help web designers,
front-end developers and back-end developer save time. Use it in your project and build your app faster,
You can also download the HTML, CSS, and JS code.

HTML code

This is the html code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following HTML code to get a result like the one shown in the preview selection

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600" rel="stylesheet">

  </head>

  <body>
    
	<div class="container">
		<div class="login login-1">
			<header class="login--header login-1--header text-center">
				<span class="icon icon-medium fa fa-lock"></span>
				<h3>login</h3>
				<span class="arrow-down login--header__arrow"></span>
			</header>
			<form class="login--form">
				<div class="login--form__input-area input-group">
					<span class="input-group-addon"><span class="fa fa-user"></span></span>
					<input type="email" class="form-control" placeholder="email" />
				</div>
				<div class="login--form__input-area input-group">
					<span class="input-group-addon"><span class="fa fa-lock"></span></span>
					<input type="password" class="form-control" placeholder="password" />
				</div>
				<label class="login--form__input-area checkbox-label">
					<input type="checkbox" />
					<span class="checkgraph fa fa-check"></span>
					Remember me?
				</label>
				<button type="button" class="login--form__button btn btn-default" value="submit">sign in</button>
			</form>
			<footer class="login--footer text-center">
				<p class="login--footer__text">Or you can login with one of the following</p>
				<div class="login--footer__social-buttons">
					<a href="#"><span class="icon icon-small icon-fb fa fa-facebook"></span></a>
					<a href="#"><span class="icon icon-small icon-tw fa fa-twitter"></span></a>
					<a href="#"><span class="icon icon-small icon-gp fa fa-google-plus"></span></a>
				</div>
				<p class="login--footer__text">dont have an account? <strong><a href="#">sign up</a></strong></p>
			</footer>
		</div>
		<div class="login login-2">
			<header class="login--header login-2--header text-center">
				<span class="icon icon-medium fa fa-user"></span>
				<h3>Register</h3>
				<span class="arrow-down login--header__arrow"></span>
			</header>
			<form class="login--form">
				<div class="login--form__input-area input-group">
					<span class="input-group-addon"><span class="fa fa-user"></span></span>
					<input type="email" class="form-control" placeholder="email" />
				</div>
				<div class="login--form__input-area input-group">
					<span class="input-group-addon"><span class="fa fa-lock"></span></span>
					<input type="password" class="form-control" placeholder="password" />
				</div>
				<div class="login--form__input-area input-group">
					<span class="input-group-addon"><span class="fa fa-lock"></span></span>
					<input type="password" class="form-control" placeholder="confirm password" />
				</div>
				<div class="login--form__input-area input-group">
					<span class="input-group-addon"><span class="fa fa-envelope-o"></span></span>
					<input type="password" class="form-control" placeholder="E-mail" />
				</div>
				<label class="login--form__input-area checkbox-label">
					<input type="checkbox" />
					<span class="checkgraph fa fa-check"></span>
					Remember me?
				</label>
				<button type="button" class="login--form__button btn btn-default" value="submit">sign up</button>
			</form>
			<footer class="login--footer text-center">
				<p class="login--footer__text">Already have an account? <strong><a href="#">login here</a></strong></p>
			</footer>
		</div>
		<div class="login login-3">
			<header class="login--header login-3--header text-center">
				<span class="icon icon-medium fa fa-key"></span>
				<h3>account settings</h3>
				<span class="arrow-down login--header__arrow"></span>
			</header>
			<form class="login--form">
				<div class="login--form__input-area input-group">
					<span class="input-group-addon"><span class="fa fa-envelope-o"></span></span>
					<input type="password" class="form-control" placeholder="E-mail" />
				</div>
				<button type="button" class="login--form__button btn btn-default" value="submit">sign up</button>
			</form>
		</div>
	</div>
  </body>
</html>

CSS code

This is the css code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following CSS code to get a result Like the one shown in the preview selection


/*****************globals*************/
body {
  font-family: 'open sans';
  overflow-x: hidden;
  background-color: #00b3a7;
  color: #555; }

img {
  max-width: 100%; }

.login {
  max-width: 400px;
  width: auto;
  margin: 50px auto;
  background-color: #eee;
  font-size: 1.3rem;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3); }
  .login-1--header {
    background-color: #ffc414; }
  .login-1 .arrow-down {
    border-top: 20px solid #ffc414; }
  .login-1 .input-group-addon {
    background-color: #ffc414; }
  .login-1 .btn-default {
    background-color: #ffc414; }
  .login-1 .login--footer__text:first-of-type {
    border-top: 1px dotted #444; }
  .login-2--header {
    background-color: #6d008f; }
  .login-2 .arrow-down {
    border-top: 20px solid #6d008f; }
  .login-2 .btn-default {
    background-color: #6d008f; }
  .login-2 .input-group-addon {
    background-color: #6d008f; }
  .login-3--header {
    background-color: #b33000; }
  .login-3 .arrow-down {
    border-top: 20px solid #b33000; }
  .login-3 .btn-default {
    background-color: #b33000; }
  .login-3 .input-group-addon {
    background-color: #b33000; }
  .login--header {
    padding: .7em 0;
    color: #fff;
    position: relative; }
    .login--header h3 {
      text-transform: UPPERCASE; }
  .login--form {
    padding: 40px 20px; }
    .login--form__input-area {
      width: 100%; }
  .login--footer {
    padding: 0 20px 20px 20px; }
    .login--footer__text:first-of-type {
      padding-top: 10px; }
  .login .btn {
    border: none;
    border-radius: 0;
    display: block;
    width: 100%;
    text-transform: UPPERCASE;
    color: #fff; }

/***********utility************/
.arrow-down {
  z-index: 999;
  border: 20px solid transparent;
  position: absolute;
  margin: 0 auto;
  top: 100%;
  display: block;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%); }

.form-control {
  height: auto;
  padding: .7em;
  background-color: #ccc; }

input.form-control, span.input-group-addon {
  border-radius: 0;
  border: none; }

span.input-group-addon {
  color: #fff;
  font-size: 1.2em;
  width: 14%; }

span.icon {
  display: inline-block !important; }
  span.icon-small {
    font-size: 1.8em;
    line-height: 1.9em;
    width: 2em;
    text-align: center; }
  span.icon-medium {
    font-size: 2.5em;
    line-height: 1.9em;
    width: 2em;
    text-align: center; }

.login--header .icon {
  border: 2px solid #fff;
  border-radius: 50%; }

.login--form__input-area,
.login--footer__text,
.login--footer__social-buttons {
  margin-bottom: 20px; }

.btn-default {
  padding: 1em; }

span.icon {
  color: #fff; }
  .icon-fb {
    background-color: #0069e0; }
  .icon-tw {
    background-color: #8accff; }
  .icon-gp {
    background-color: #c22a00; }

a {
  color: inherit; }
  a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted #444; }

.checkbox-label {
  position: relative;
  padding-left: 30px;
  vertical-align: middle; }

input[type="checkbox"] {
  visibility: hidden; }

.checkgraph {
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: #ccc;
  left: 0; }

.checkgraph:before {
  max-width: 0px;
  display: block;
  overflow: hidden;
  line-height: 30px;
  text-align: center;
  font-size: 1.7em; }

input:checked ~ .checkgraph:before {
  max-width: 30px;
  -webkit-animation-name: check;
          animation-name: check;
  -webkit-animation-duration: .3s;
          animation-duration: .3s; }

@-webkit-keyframes check {
  0% {
    max-width: 0; }
  100% {
    max-width: 30px; } }

@keyframes check {
  0% {
    max-width: 0; }
  100% {
    max-width: 30px; } }

/*# sourceMappingURL=style.css.map */
                                    

Similar snippets

Bootstrap snippet Social network clean feed list

Social network clean feed list

View

Bootstrap snippet page loader

page loader

View

Bootstrap snippet animated chat window

animated chat window

View

Bootstrap snippet Profile with tabs like facebook page

Profile with tabs like facebook page

View

Bootstrap snippets. LoginFormsInspiration

About this bootstrap snippet

This bootstrap snippet, LoginFormsInspiration, was published on Sep 5th 2017, 07:35 by HARUN PEHLIVAN and it is free.

We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.

We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.

This snippet currectly have 222 views, Using this bootstrap snippet you have the following benefits:

Bootstrap 3.3.7

This snippet 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 snippet can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working