cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

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.

            
              <div id="javascript-warning-message" class=" login-form-border-2">
  <span class="login-title-message">Warning</span>
<div id="login-form">
  This site requires that Javascript be enabled.  Please
  enable Javascript before continuing.
  </div>
  
</div>
</div>
<!-- Main login form -->
<div id="login-form-container" class="hide login-form-border-2">
  <span class="login-title-message">Login Form</span>
<div id="login-form">
  <input type="text" name="username" id="username" placeholder="username here" class="form-input"/>
  <p></p>
  <input type="password" name="password" id="password" placeholder="password here" class="form-input"/>
  <div class="login-controls">
    
    <input type="checkbox" id="checkbox67" class="css-checkbox lrg" checked="checked"/>
    <label for="checkbox67" name="checkbox67_lbl" class="css-label lrg web-two-style">Remember Me</label>
    
      
    <button class="pull-right login-button">Login</button> 
  </div>
</div>
</div>
<!-- New password form -->
<div id="new-password-form-container" class="hide login-form-border-2">
  <span class="login-title-message">New Password Form</span>
<div id="login-form">
  <input type="password" name="cpassword" id="password" placeholder="current password" class="form-input"/>
  <p></p>
  <input type="password" name="npassword1" id="npassword1" placeholder="new password" class="form-input"/>
  <p></p>
  <input type="password" name="npassword2" id="npassword2" placeholder="confirm new password" class="form-input"/>
  <div class="login-controls">
    <button class="pull-right login-button">Change Password</button> 
  </div>
</div>
</div>
            
          
!
            
              html,body {
  height: 100%;
  background: -moz-linear-gradient(
		top,
		#a3a3a3 0%,
		#3b3b3b 59%,
		#242424 72%,
		#000000);
	background: -webkit-gradient(
		linear, left top, left bottom, 
		from(#a3a3a3),
		color-stop(0.59, #3b3b3b),
		color-stop(0.72, #242424),
		to(#000000));
}

.login-form-border-2 {
  
  background-color: #333;
  width: 435px;
  padding: 20px 10px 10px 10px;
  margin: auto;
  border-radius: 8px;
  border: thin solid #000;
}

#login-form {
  background-color: #FFD6BD;
  width: 405px;
  padding: 10px;
  margin: auto;
  font-size: 16pt;
  color: #000;
  border-radius: 8px;
  border: 2px solid #000;
}

#login-form .login-controls {
  min-height: 40px;
  margin-top: 10px;
}

.login-title-message {
  padding-left: 7px;
  display: block;
  font-size: 18pt;
  font-family: Impact;
  color: #FF7500;
}

#login-form input {
  width: 380px;
  padding: 10px;
  border: 1px dashed #FF7500;
  font-size: 16pt;
  color: #333;
}

#login-form .login-controls input[type='checkbox'] {
  width: 20px;
}

.pull-right {
  float: right;
}

.pull-left {
  float: left;
}

button.login-button {
  font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #ffffff;
	padding: 10px 20px;
	background: -moz-linear-gradient(
		top,
		#6b6b6b 0%,
		#000000);
	background: -webkit-gradient(
		linear, left top, left bottom, 
		from(#6b6b6b),
		to(#000000));
	-moz-border-radius: 30px;
	-webkit-border-radius: 30px;
	border-radius: 4px;
	border: 1px solid #000000;
	-moz-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 1px rgba(255,255,255,0.7);
	-webkit-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 1px rgba(255,255,255,0.7);
	box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 1px rgba(255,255,255,0.7);
	text-shadow:
		0px -1px 0px rgba(000,000,000,0.4),
		0px 1px 0px rgba(255,255,255,0.3);
}
input[type=checkbox].css-checkbox {
	  position: absolute; 
    overflow: hidden; 
    clip: rect(0 0 0 0); 
    height:1px; 
    width:1px; 
    margin:-1px; 
    padding:0;
    border:0;
}

input[type=checkbox].css-checkbox + label.css-label {
  
	padding-left:20px;
	height:20px; 
	display:inline-block;
	line-height:18px;
	background-repeat:no-repeat;
	background-position: 0 0;
	font-size:18px;
	vertical-align:middle;
	cursor:pointer;
}

input[type=checkbox].css-checkbox + label.css-label {
	background-position: 0 0px;
  background-image:url('http://csscheckbox.com/checkboxes/web-two-style.png');
}

input[type=checkbox].css-checkbox:checked + label.css-label {
	background-position: 0 -20px;
  background-image:url('http://csscheckbox.com/checkboxes/web-two-style.png');
}

.hide {
  display:none;
}
            
          
!
            
              $(document).ready(function() {
  $("#javascript-warning-message").fadeOut('fast',function() {
    $("#login-form-container").fadeIn('slow');
  });
});

            
          
!
999px
Loading ..................

Console