cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmlicon-personicon-teamoctocatspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              <section class="container">

<article class="logo text-center">
<figure>
  <img src="https://dl.dropboxusercontent.com/u/75300964/knotable-logo.png" alt="Knotable Logo">
  <h1>knotable</h1>
</figure>
</article>

<section class='login text-center'>
<h2>Login</h2>
<form>
<div class="input-group">
  <span class="input-group-addon glyphicon glyphicon-user"></span>
  <input type="text" class="form-control" required="" placeholder="Name">
</div>
<br>
<div class="input-group">
  <span class="input-group-addon glyphicon glyphicon-lock"></span>
  <input type="password" class="form-control" required="" placeholder="Password">
</div>
<small class="pull-right"><a href="#">Forgot password?</a></small>
<button class="btn btn-info" type="submit">Login</button>
</form>
<p>What?! Not a member yet? <a href="">Sign Up Now!</a></p>
</section><!--  END LOGIN SESSION -->
  
</section><!--  END CONTAINER -->
            
          
!
            
              @charset "utf-8";

body {
	background: #fff url('https://dl.dropboxusercontent.com/u/75300964/knotable-background.jpg') no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}



/*
 * BOOTSTRAP BUTTON INFO RESET
 *
 */
.btn-info {
	font-weight:bold;
	color: #ffffff;
	background-color: #28ade8;
	border: 0;
	border-radius: 4px;
	padding: 10px;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active,
.open .dropdown-toggle.btn-info {
  color: #ffffff;
  background-color: #28ade8;
  border-color: #269abc;
}

.btn-info:active,
.btn-info.active,
.open .dropdown-toggle.btn-info {
  background-image: none;
}

.btn-info.disabled,
.btn-info[disabled],
fieldset[disabled] .btn-info,
.btn-info.disabled:hover,
.btn-info[disabled]:hover,
fieldset[disabled] .btn-info:hover,
.btn-info.disabled:focus,
.btn-info[disabled]:focus,
fieldset[disabled] .btn-info:focus,
.btn-info.disabled:active,
.btn-info[disabled]:active,
fieldset[disabled] .btn-info:active,
.btn-info.disabled.active,
.btn-info[disabled].active,
fieldset[disabled] .btn-info.active {
  background-color: #28ade8;
  border-color: #46b8da;
}



/*
 * My Style
 *
 */
.logo {
	color: #fff;
	margin: 40px 0 40px 0;

h1 {
	display: inline;
	position: relative;
	top: 8px;
	margin-left: 10px;
}

}

.container {
  	max-width: 340px;
}

.login {
	padding: 20px;
  margin-bottom: 20px;
	background: #f9f9f9;
	-moz-box-shadow: 0 0 0 8px rgba(255,255,255,0.2);
	-webkit-box-shadow: 0 0 0 8px rgba(255,255,255,0.2);
	box-shadow: 0 0 0 8px rgba(255,255,255,0.2);
	border-radius: 0.4em;

/* bootstrap resets */
h1, h2, h3, p {
	margin-top: 0px;
	margin-bottom: 0px;
}
.glyphicon {
	color: #fff;
}
.input-group {

span {
	background-color: rgba(189, 195, 199, 1);
}
input {
	background-color: rgba(242, 242, 242, 1);
	border-top-right-radius:4px;
	border-bottom-right-radius:4px;
	font-weight:500;
}
}

/* decorative span falls 1px from the bottom of the input */
.input-group-addon {
	top: 0px;
}

/* removes top border on the inputs */
.form-control {
	border: 0px solid #cccccc;
	border-radius: 0px;
	-webkit-box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0);
	box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0);
}

/* .login nested styles */
h2 {
	font-size: 1.8em;
	font-weight:400;
	line-height:50%;
	margin-bottom: 20px;
}
h2, button {
	text-transform:uppercase;
}
p { 
	font-weight:200;
	margin-top: 20px;
a {
	font-weight:400;
	color: #28ade8;
	text-decoration: none;
}
}
small {
	margin: 10px 0 10px 0;
a {
	color: rgba(189, 195, 199, 1);
	text-decoration: none;
}
}
button {
	width: 100%;
	font-weight: 500;
}

}/* .login end */

            
          
!
            
              /*
* 
* Inspired By:  http://dribbble.com/shots/1131472-Knotable-Login?list=popular&offset=392
*				http://www.pinterest.com/pin/226235581254247317/
*
* Bootstrap 3: http://getbootstrap.com/
* 
* http://matrixfox.com/
* 
*/
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console